| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Modify tdd module output path Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/12537 Signed-off-by: karenoni <xukaiwen3@h-partners.com> Change-Id: Iaa8336300a19923e219d68cc385e10d1c1c8a98f | 5 个月前 | |
perf(string_table): switch to chained hash map Replace the string table's concurrent HashTrieMap with a chained hash map. Lookups traverse bucket chains lock-free (acquire loads paired with release publication); insertions push at the bucket head under the table mutex with an unconditional under-lock re-scan; GC sweeping splits the bucket array into fixed partitions swept by taskpool workers, with per-GC-mode ClearNodeFromGC variants (STW immediate free, CMC/concurrent deferred reclamation with to-space tagging). Details: - The bucket-count exponent is configurable at startup via the system parameter const.ark.string_table_map_bit (default 16, clamped to [11, 24]); sizes derive from it at construction. - ChainedHashMap owns the sweep partitioning primitive (ForEachBucketHeadInPartition); the trie-era Entry/Indirect tag bit and related dead fields are removed (every node is an entry now). - Common probe/insert logic is factored into FindInChain and InsertWithLockHeld; the latter re-reads the bucket head under the mutex so the Insert() freshness precondition holds by construction. - Insert paths never hold raw Entry pointers across a GC-capable callback: StoreOrLoad creates the string before locking, and LoadOrStoreForJit (which must allocate under the lock) re-reads the bucket head and re-scans after the loader returns. - Rename runtime stub GetOrInternStringFromHashTrieTable to GetOrInternStringFromHashTable (same positional ID). - Guard IntegerCache use in StringToNumber and InitIntegerCache with IsLineString, so short interned non-line strings take the parse path instead of reinterpreting non-LineString layout. - Rewrite the string table sweeping tests for the new structure and update the string table fuzzers. Tested: ECMA_StringTable_Test 59/59, ECMA_StringTable_Sweeping_Test 46/46, GC_Third_Test 61/61 (x64.release host). Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13273 Co-Authored-By: Agent Signed-off-by: Like <zhenglike@h-partners.com> Change-Id: I60a624ec078fa40d99fd69e762734f79d6944dff | 1 个月前 | |
Move string Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/11749 Signed-off-by: wangchen <wangchen965@huawei.com> Change-Id: Ia7cef578de68b2ec3988867e27b4615d7ee2e84b | 9 个月前 | |
!13434 merge master into master ets_runtime independent compilation fix Created-by: da_wei_li11 Commit-by: da_wei_li11 Merged-by: openharmony_ci Description: Change-Id: Ib6fddb92c5cd9831d6546936c37cd8a4bef5577b ### 关联的Issue https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/7700 ### 修改原因(目的、解决的问题等,例如:修复xx场景崩溃问题) ets_runtime independent compilation fix ### 修改描述(做了什么,变更了什么,例如:xx函数入口增加判空) ets_runtime independent compilation fix ### 自测试项(测试结果截图,直接贴到每一个测试项底下) #### jit-workload 本地执行(compiler/jit/isa/stub/ic/对象布局等修改必须执行) - [ ] 已通过 - [ ] 不涉及,无需验证 #### interpreter-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [ ] 已验证不劣化 - [ ] 不涉及,无需验证 #### aot-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [ ] 已验证不劣化 - [ ] 不涉及,无需验证 #### interpreter-workload性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [ ] 已验证不劣化 - [ ] 不涉及,无需验证 #### aot-workload性能测试(性能优化/性能敏感场景:IR化/compiler/aot/isa/stub/ic/对象布局等修改必须执行) - [ ] 已验证不劣化 - [ ] 不涉及,无需验证 #### 非StableArray不能采用ElementKind读取元素(修改解释器相关IR代码需要自检) - [ ] 已自检 - [ ] 不涉及,无需验证 #### 在IR时添加fastpath时,需要检查是否有分支会改变非字典序模式或者修改数组长度,此时应该走slowpath(修改解释器相关IR代码需要自检) - [ ] 已自检 - [ ] 不涉及,无需验证 #### IR化后的逻辑需要与c++实现一致,不一致的地方需要有分支用例看护(修改解释器相关IR代码需要自检) - [ ] 已自检 - [ ] 不涉及,无需验证 #### c++代码中检测或抛出异常的地方,IR需要同样实现(修改解释器相关IR代码需要自检) - [ ] 已自检 - [ ] 不涉及,无需验证 #### IR中使用默认入参是HeapObject对象的接口时,需要在上下文中保证了参数的正确性(修改解释器相关IR代码需要自检) - [ ] 已自检 - [ ] 不涉及,无需验证 #### 修改c解释器,需要同时检查汇编解释器与AOT是否需要修改 - [ ] 已自检 - [ ] 不涉及,无需验证 ### 是否已执行L0用例 - [ ] 已验证 - [ ] 不涉及。如不涉及,请写明理由 See merge request: openharmony/arkcompiler_ets_runtime!13434 | 8 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 个月前 | ||
| 1 个月前 | ||
| 9 个月前 | ||
| 8 个月前 |