Commit Graph

287 Commits

Author SHA1 Message Date
pjh123 00c38ba5f9 feat: 迁移 NativeResult 2026-06-25 18:32:09 +08:00
pjh123 14f82d2c4d refactor: 用 define_opcodes! 宏统一生成 OpCode 枚举/TryFrom/Display 2026-06-25 18:12:37 +08:00
pjh123 1cab5bde65 perf: 不可变常量改 OnceLock 一次性缓存,删 Constant 死变体并移出 GC 根 2026-06-25 14:32:49 +08:00
pjh123 63737ef74d feat: 增加 CreateRegExp 字节码,正则字面量每次执行创建新对象 2026-06-25 10:28:35 +08:00
pjh123 c378b92d1a feat: 增加 CreateClosure 字节码,函数字面量每次执行创建新闭包 2026-06-25 10:16:32 +08:00
pjh123 d7bc6a9b4e perf: 模块树改用 Arc 持有,消除同步调用路径深层模块克隆 2026-06-24 22:52:25 +08:00
pjh123 12bfe551cf perf: 寄存器保存改用共享 save_stack,消除 Box<[JsValue]> 堆分配 2026-06-24 22:20:34 +08:00
pjh123 967ac32378 feat: JsString 添加标记清除 GC 2026-06-24 21:15:31 +08:00
pjh123 ddffa8504e refactor: 字符串值改用 JsString 指针表示,键与字面量改用 PermInterner 2026-06-24 20:15:15 +08:00
pjh123 9a62cf1610 perf: for_each_root 迭代器替代 gc_roots,复用 Vec DFS mark 栈消除每轮 GC 堆分配 2026-06-24 19:01:51 +08:00
pjh123 bb4ce39e50 feat: CodeForge 改用有界 Mutex<LruCache>,KernelConfig 新增 max_cached_modules 2026-06-24 16:17:40 +08:00
pjh123 c0f16dc764 fix: promote 复用 Vm.forwarding,消除 promote 的 HashMap 分配 2026-06-24 16:08:17 +08:00
pjh123 94405f50d7 refactor: 移除代码注释中的文档内部编号引用 2026-06-24 16:03:53 +08:00
pjh123 4535f70f80 fix: GC sweep 复用 Vm.forwarding,消除每轮 HashMap 分配 2026-06-24 15:59:55 +08:00
pjh123 f0da49a54c fix: GC eprintln! 改为 vm_debug!,release 下零 stderr 2026-06-24 15:47:35 +08:00
pjh123 1815958b11 refactor: 清理未使用符号,合并bind_constructor宏,统一init/rebind绑定列表,bind_number改为表驱动 2026-06-24 12:12:44 +08:00
pjh123 cdd709ef03 feat: 添加基准测试基础设施 2026-06-24 10:46:59 +08:00
pjh123 3ea2353194 feat: 实现 SequenceExpression + 带标签 break/continue + EmptyStatement 2026-06-23 23:00:20 +08:00
pjh123 5de79b4253 feat: 实现 new String 装箱构造 + String.prototype.toString,补齐 boxed primitives 2026-06-23 22:33:37 +08:00
pjh123 cad726d67a feat: test262 新增 --supervise 模式:子进程级单测超时 kill + 自动续跑 2026-06-23 20:50:55 +08:00
pjh123 282d0d3c23 refactor: 拆分 expression emit 分发逻辑 2026-06-23 19:00:57 +08:00
pjh123 91c9c19cae refactor: 拆分 statement emit 分发逻辑 2026-06-23 18:17:31 +08:00
pjh123 977e6beae4 refactor: 拆分 compiler hash 分发逻辑 2026-06-23 18:05:55 +08:00
pjh123 8a6fac5ef7 refactor: 拆分 counter expression 计数分发 2026-06-23 17:58:19 +08:00
pjh123 0170354250 refactor: 拆分 counter statement 计数分发 2026-06-23 17:45:59 +08:00
pjh123 be87e4e21b refactor: 拆分 bytecode/cache crate 并模块化 counter 2026-06-23 17:06:39 +08:00
pjh123 ba5e095a83 fix: 封装字节码计数并修复 for-of 解构偏移 2026-06-23 16:21:39 +08:00
pjh123 b1cd4661ed refactor: 统一错误对象构造与异常类型传播 2026-06-23 14:51:58 +08:00
pjh123 69500513b3 fix: 修复同步调用参数限制与内建语义错误 2026-06-23 14:38:58 +08:00
pjh123 2d166cbfa5 fix: 修复全局边界安全与内存稳定性问题 2026-06-22 19:43:00 +08:00
pjh123 32af37963e feat: 支持可选链空值合并与逻辑赋值 2026-06-18 15:26:16 +08:00
pjh123 3784db7b17 fix: 限制内存上限以减缓测试溢出问题 2026-06-17 21:28:22 +08:00
pjh123 f7834df245 fix: 修复数组回调与原始值属性访问 2026-06-17 12:59:11 +08:00
pjh123 6a99209af8 fix: 修复 Map/Set GC 追踪与 CodeForge 缓存键 2026-06-17 09:38:48 +08:00
pjh123 a074636619 feat: 支持 class 私有字段与品牌检查 2026-06-17 08:56:58 +08:00
pjh123 e71c236dcd feat: 支持公开类字段和静态块 2026-06-17 08:20:52 +08:00
pjh123 862e8585f8 feat: 添加 session arena 标记清扫 GC 2026-06-16 23:09:36 +08:00
pjh123 a9d8d0972c feat: 添加 session arena 与逃逸晋升 2026-06-16 12:36:52 +08:00
pjh123 bb34b74821 feat: 接入 selective reset 并补充验证基准 2026-06-15 22:11:47 +08:00
pjh123 fec34de2a5 feat: 添加 BuiltinWorld 选择性重建 2026-06-15 21:11:53 +08:00
pjh123 976482ee30 feat: 添加 BuiltinSnapshot 脏检测 2026-06-15 21:02:33 +08:00
pjh123 f663138e92 fix: 共享 harness 缓存并限制 runner VM 池 2026-06-15 15:26:57 +08:00
pjh123 3b43935146 fix: 降低函数体寄存器压力 2026-06-15 00:33:58 +08:00
pjh123 7ff559c2e6 fix: 收紧CALL_NATIVE调用选择 2026-06-14 23:58:12 +08:00
pjh123 391566ba5b feat: 实现for-of与解构赋值 2026-06-14 23:45:12 +08:00
pjh123 5238ba426a test: 默认关闭逐测试运行日志 2026-06-14 20:16:33 +08:00
pjh123 c173dac0c1 feat: 添加 TypedArray 全局构造器 2026-06-14 19:57:11 +08:00
pjh123 00074f2270 feat: 添加 DataView 全局构造器 2026-06-14 19:07:06 +08:00
pjh123 b8f40b6251 feat: 添加 ArrayBuffer 全局构造器 2026-06-14 18:49:03 +08:00
pjh123 d7143e24ba feat: 实现 Reflect 全局方法 2026-06-14 18:10:17 +08:00