| add self check Issue:https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/11979 Signed-off-by: yangliping01 <yangliping30@h-partners.com> | 11 months ago |
| Remove the package management code Issue:https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13638?ref=&did=4302195#tid-4302195 Co-Authored-By: Agent Signed-off-by: rentangyu <rentangyu@huawei.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 1 month ago |
| !15142 merge arksteed-squash into master Sync arksteed code Created-by: Codevka Commit-by: fish500kg;Codevka;Chong;Onlynagesha;f_t_q;Cillinn;zhengjiahuan;Sebastian Strobl;xwcai98;onlynagesha;zhangyukun8;mengbierr;刘智杰 Merged-by: openharmony_ci Description: ### 关联的Issue https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13621 ### 修改原因(目的、解决的问题等,例如:修复xx场景崩溃问题) 同步 ArkSteed 代码 ### 修改描述(做了什么,变更了什么,例如:xx函数入口增加判空) 同步 ArkSteed 代码 ### 自测试项(测试结果截图,直接贴到每一个测试项底下) #### jit-workload 本地执行(compiler/jit/isa/stub/ic/对象布局等修改必须执行) - [x] 已通过 - [ ] 不涉及,无需验证 #### interpreter-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### aot-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### interpreter-workload性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### aot-workload性能测试(性能优化/性能敏感场景:IR化/compiler/aot/isa/stub/ic/对象布局等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### 非StableArray不能采用ElementKind读取元素(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### 在IR时添加fastpath时,需要检查是否有分支会改变非字典序模式或者修改数组长度,此时应该走slowpath(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### IR化后的逻辑需要与c++实现一致,不一致的地方需要有分支用例看护(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### c++代码中检测或抛出异常的地方,IR需要同样实现(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### IR中使用默认入参是HeapObject对象的接口时,需要在上下文中保证了参数的正确性(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### 修改c解释器,需要同时检查汇编解释器与AOT是否需要修改 - [ ] 已自检 - [x] 不涉及,无需验证 ### 是否已执行L0用例 - [x] 已验证 - [ ] 不涉及。如不涉及,请写明理由 #### 修改或新增IR代码时,必须在代码注释中标注其对应的C++实现函数名(修改解释器相关IR代码需要自检) ‷ 示例格式: //@ref namespace::class::method() ‷ - [ ] 已自检 - [x] 不涉及,无需验证 #### 单次代码提交的变更行数(新增+删除)超过200行时,必须在合并前组织线上Review - [x] 已自检 - [ ] 不涉及,无需验证 Change-Id: Ic692316635513127ac5695f04bd3809343d37d14 See merge request: openharmony/arkcompiler_ets_runtime!15142 | 1 month ago |
| Hide symbol exports in libcompiler_service The emutls symbol __emutls_v._ZN5panda2os4unix6memory5futex11current_tidE from libarkbase_static.a leaked into libcompiler_service.z.so's .dynsym and duplicated with other ark so's. Root cause: lld applies version scripts (scanVersionScript) before LTO codegen, so archive members pulled in only after LTO (referenced by lto.tmp) bypass the "local: *" classification of libaot_compiler_service.map. lld re-runs --exclude-libs after LTO specifically to cover such symbols, so add -Wl,--exclude-libs,ALL to hide all static archive symbol exports. Issue:https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13669 Signed-off-by: wanzixuan330 <wanzixuan@huawei.com> Co-Authored-By: Agent AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 1 month ago |
| Add version Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13679 Co-Authored-By: Agent Signed-off-by: youdognzhen <youdongzhen@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 1 month ago |
| !15283 merge master into master Fix multiply overflow Created-by: zhangyukun8 Commit-by: zhangyukun8 Merged-by: openharmony_ci Description: ### 关联的Issue https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13706 ### 修改原因(目的、解决的问题等,例如:修复xx场景崩溃问题) Fix multiply overflow ### 修改描述(做了什么,变更了什么,例如:xx函数入口增加判空) Fix multiply overflow ### 自测试项(测试结果截图,直接贴到每一个测试项底下) #### 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用例 - [ ] 已验证 - [ ] 不涉及。如不涉及,请写明理由 #### 修改或新增IR代码时,必须在代码注释中标注其对应的C++实现函数名(修改解释器相关IR代码需要自检) ‷ 示例格式: //@ref namespace::class::method() ‷ - [ ] 已自检 - [ ] 不涉及,无需验证 #### 单次代码提交的变更行数(新增+删除)超过200行时,必须在合并前组织线上Review - [ ] 已自检 - [ ] 不涉及,无需验证 See merge request: openharmony/arkcompiler_ets_runtime!15283 | 1 month ago |
| Support for LocalHandle memory leak detection Support for LocalHandle memory leak detection Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/12622 Co-Authored-By:Agent Signed-off-by: dengwenjun <dengwenjun10@huawei.com> | 8 months ago |
| Export handle node map as protobuf Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13462 Co-Authored-By: Agent Signed-off-by: xiongkang <xiongkang15@huawei.com> | 3 months ago |
| !15142 merge arksteed-squash into master Sync arksteed code Created-by: Codevka Commit-by: fish500kg;Codevka;Chong;Onlynagesha;f_t_q;Cillinn;zhengjiahuan;Sebastian Strobl;xwcai98;onlynagesha;zhangyukun8;mengbierr;刘智杰 Merged-by: openharmony_ci Description: ### 关联的Issue https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13621 ### 修改原因(目的、解决的问题等,例如:修复xx场景崩溃问题) 同步 ArkSteed 代码 ### 修改描述(做了什么,变更了什么,例如:xx函数入口增加判空) 同步 ArkSteed 代码 ### 自测试项(测试结果截图,直接贴到每一个测试项底下) #### jit-workload 本地执行(compiler/jit/isa/stub/ic/对象布局等修改必须执行) - [x] 已通过 - [ ] 不涉及,无需验证 #### interpreter-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### aot-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### interpreter-workload性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### aot-workload性能测试(性能优化/性能敏感场景:IR化/compiler/aot/isa/stub/ic/对象布局等修改必须执行) - [x] 已验证不劣化 - [ ] 不涉及,无需验证 #### 非StableArray不能采用ElementKind读取元素(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### 在IR时添加fastpath时,需要检查是否有分支会改变非字典序模式或者修改数组长度,此时应该走slowpath(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### IR化后的逻辑需要与c++实现一致,不一致的地方需要有分支用例看护(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### c++代码中检测或抛出异常的地方,IR需要同样实现(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### IR中使用默认入参是HeapObject对象的接口时,需要在上下文中保证了参数的正确性(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### 修改c解释器,需要同时检查汇编解释器与AOT是否需要修改 - [ ] 已自检 - [x] 不涉及,无需验证 ### 是否已执行L0用例 - [x] 已验证 - [ ] 不涉及。如不涉及,请写明理由 #### 修改或新增IR代码时,必须在代码注释中标注其对应的C++实现函数名(修改解释器相关IR代码需要自检) ‷ 示例格式: //@ref namespace::class::method() ‷ - [ ] 已自检 - [x] 不涉及,无需验证 #### 单次代码提交的变更行数(新增+删除)超过200行时,必须在合并前组织线上Review - [x] 已自检 - [ ] 不涉及,无需验证 Change-Id: Ic692316635513127ac5695f04bd3809343d37d14 See merge request: openharmony/arkcompiler_ets_runtime!15142 | 1 month ago |
| Refactor spell error Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13002 Signed-off-by: guobingbing <guobingbing3@huawei.com> Co-Authored-By: Agent Change-Id: I70e38c329883bc835533ac30cee608c2c65b295f | 5 months ago |
| Updated Test Case Runner Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13621 Signed-off-by: Onlynagesha <orina_zju@163.com> Co-Authored-By: Agent Change-Id: I20dbcdd356e1ad6353a374b5aa5d648c4156db9a | 1 month ago |
| docs(agents): add modification checklist Add ten modification-time constraint checklists requested in issue #13501 to the AGENTS.md knowledge base, distributed by subsystem: - Top-level AGENTS.md (开发注意事项): structure-size growth for resident VM data structures (StringTable/Method/Module), TaggedObject bit-field offset asserts against Literal layout, cache strong-reference/bound checks, tag-bit/HWAsan collision, IR vs C++ interpreter consistency, incompatible-change review. - ecmascript/stubs/AGENTS.md: stub code address continuity and concurrent-write safety; CallRuntime stack-arg GC safety. - ecmascript/builtins/AGENTS.md: Proxy/Reflect receiver conformance. - ecmascript/ic/AGENTS.md: property-load result validity checks. - ecmascript/interpreter/AGENTS.md: cross-references to the above. Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13501 Co-Authored-By: Agent Signed-off-by: Like <zhenglike@h-partners.com> AI[100%] Human Fixed[0%] Human[0%] AI Adopted[100%] Co-authored-by: pi (glm-5.2) <ai@local> Change-Id: Ifae5f76a9e8776076ef50041fc68b6345b0b73f3 | 3 months ago |
| Remove the package management code Issue:https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13638?ref=&did=4302195#tid-4302195 Co-Authored-By: Agent Signed-off-by: rentangyu <rentangyu@huawei.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 1 month ago |
| Display codeowners for hidden folders and files Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAKBP2 Signed-off-by: Rokashevich Svetlana <rokashevich.svetlana1@huawei-partners.com> | 2 years ago |
| add ark js_runtime Signed-off-by: wanyanglan <wanyanglan1@huawei.com> Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41 | 5 years ago |
| add ap parse code Signed-off-by: yanpeng <yanpeng51@h-partners.com> Change-Id: I9c0c2b23e0bd926efc3350d117d351a7c9732fd7 Signed-off-by: yanpeng <yanpeng51@h-partners.com> | 2 years ago |
| | 10 months ago |
| 修改中英文md文档不一致 Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/11990 Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com> | 10 months ago |
| remove reviewer Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13678 Co-Authored-By: NA Signed-off-by: guan-mingyue <guanmingyue@huawei.com> | 1 month ago |
| !14820 merge master into master add hybrid binary dump and offline snapshot merger Created-by: yangxiaoshuai2022 Commit-by: yangxiaoshuai2022 Merged-by: openharmony_ci Description: ### 关联的Issue https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11883 ### 修改原因(目的、解决的问题等,例如:修复xx场景崩溃问题) The existing JSON hybrid heap dump allocates a full in-memory snapshot and serializes it single-threaded, which does not scale to large heaps and stalls the target process. A binary dump streams records straight to a faultloggerd fd and can fork a child for the heavy work so the target resumes sooner, while a two-file translate path lets the dynamic rawheap and the static binary snapshot be merged into one .heapsnapshot offline. ### 修改描述(做了什么,变更了什么,例如:xx函数入口增加判空) 1. add HybridHeapProfiler::BinaryDump / DoBinaryDumpInCurrentProcess / ForkAndPerformBinaryDump reusing the existing GC+Suspend pattern; 2. route DumpFormat::BINARY through DFXJSNApi::PerformHybridHeapDump; 3. add DynamicDump / DynamicWriter as the dynamic-side dumper skeleton; 4. extend rawheap_translate to single-file and two-file (dynamic+static) modes with StaticSnapshotParser (two-phase, EOF-driven) and SnapshotMerger (content-dedup string pool plus cross-VM XRef edge splicing); 5. add XREF edge type and SYNTHETIC node type constants; 6. add unit tests for the dynamic dump pipeline and static snapshot translation. ### 自测试项(测试结果截图,直接贴到每一个测试项底下) #### jit-workload 本地执行(compiler/jit/isa/stub/ic/对象布局等修改必须执行) - [ ] 已通过 - [x] 不涉及,无需验证 #### interpreter-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [ ] 已验证不劣化 - [x] 不涉及,无需验证 #### aot-js_perf 性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [ ] 已验证不劣化 - [x] 不涉及,无需验证 #### interpreter-workload性能测试(性能优化/性能敏感场景:IR化/ic/hclass/对象布局/isa/builtins等修改必须执行) - [ ] 已验证不劣化 - [x] 不涉及,无需验证 #### aot-workload性能测试(性能优化/性能敏感场景:IR化/compiler/aot/isa/stub/ic/对象布局等修改必须执行) - [ ] 已验证不劣化 - [x] 不涉及,无需验证 #### 非StableArray不能采用ElementKind读取元素(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### 在IR时添加fastpath时,需要检查是否有分支会改变非字典序模式或者修改数组长度,此时应该走slowpath(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### IR化后的逻辑需要与c++实现一致,不一致的地方需要有分支用例看护(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### c++代码中检测或抛出异常的地方,IR需要同样实现(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### IR中使用默认入参是HeapObject对象的接口时,需要在上下文中保证了参数的正确性(修改解释器相关IR代码需要自检) - [ ] 已自检 - [x] 不涉及,无需验证 #### 修改c解释器,需要同时检查汇编解释器与AOT是否需要修改 - [ ] 已自检 - [x] 不涉及,无需验证 ### 是否已执行L0用例 - [x] 已验证 - [ ] 不涉及。如不涉及,请写明理由 #### 修改或新增IR代码时,必须在代码注释中标注其对应的C++实现函数名(修改解释器相关IR代码需要自检) ‷ 示例格式: //@ref namespace::class::method() ‷ - [ ] 已自检 - [x] 不涉及,无需验证 #### 单次代码提交的变更行数(新增+删除)超过200行时,必须在合并前组织线上Review - [ ] 已自检 - [x] 不涉及,无需验证 Issue:Change-Id: Ia93f2376e18391e11dae3f9e824bbc2c91f3e364 See merge request: openharmony/arkcompiler_ets_runtime!14820 | 3 months ago |
| Add developer list Add developer list Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/12310 Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com> Change-Id: I4251059241cdde8933e79915a3de3d845e1c9329 | 9 months ago |
| add logging in exception branch Issue: https://gitcode.com/openharmony/commonlibrary_ets_utils/issues/2515 Co-Authored-By: Agent Signed-off-by: ynuo <zhuruigan@h-partners.com> AI[63%] Human Fixed[1%] Human[36%] AI Adopted[44%] Change-Id: Ib591e751a94b3bf0dc0fbbd7de3cea9b50771708 | 1 month ago |
| Remove the package management code Issue:https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13638?ref=&did=4302195#tid-4302195 Co-Authored-By: Agent Signed-off-by: rentangyu <rentangyu@huawei.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 1 month ago |
| Fix yellow zone compilation Issue: https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/13621 Co-Authored-By: Agent Signed-off-by: Codevka <zhaoruiqi6@huawei.com> Change-Id: I3e97960b785b0706dc3589cc7f892377549d3e95 | 1 month ago |