Yuqiang Xian
91c54d3b74
Fix several typos in the code.
...
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54NZF
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
Change-Id: I51002ec27cbbb46263a104e6e19c5e354dcbc189
2022-04-27 18:28:18 +08:00
zhaozhibo
a57029dc79
fix codeDex warning.
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-14 10:56:51 +08:00
wengchangcheng
4e08cec6ee
[part-1] delete "*-inl.h" of newest codex rule
...
move the definition to the declare head file
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I512HV
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ieeb0ec96281cda51d0bebd6a2e771fc8d4078306
2022-04-07 14:14:49 +08:00
yingguofeng@huawei.com
12e27e6863
Heap code refactoring
...
Delete MemManager class. The allocation function move to heap.cpp. The Space
manage Allocator.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4UTFQ
Change-Id: I03cef52d9a1c86b07323de1e19ead53fe6daaf99
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2022-02-25 16:03:15 +08:00
yingguofeng@huawei.com
3ace067f87
GC performance optimization
...
1、Delete strategy no gc for start up
2、Adapter performance tools: runtime stat
3、Modify freeObjectKind to freeObjectSet
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4SASV?from=project-issue
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
Change-Id: I01643755057b6146d1f6b67032256e687873cd07
2022-02-15 14:24:21 +08:00
yingguofeng@huawei.com
ef9b13734d
Performance optimization for gc
...
1、Optimize GC parallel evacate strategy: evacuate to old space with FreeListAllocator.
2、Adjust strategy that whole region evacuate: Only support new fromspace to new tospace.
3、Adjust Semi space capacity growing/shrinking strategy and Adjust Semi space initialize size.
splay-benchmark:
blue zone: ark_js(2500), v8(2000)
ark-dev: ark(1200), v8(1500)
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4SASV?from=project-issue
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
Change-Id: Ie9c6e94c47f531bf9c1ebf5bc7443dd1acb7d2ac
2022-02-15 14:23:43 +08:00
zhangyukun
a97747fe18
Description:sync from code from wgr_master to ohos
...
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
Change-Id: Ic66a9e649de8c0ce530483296fe323b8f50621fb
2021-12-21 09:36:03 +08:00
yingguofeng@huawei.com
c259d52c5f
Concurrent sweep
...
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
Change-Id: I2a5a0172577971c96e156f99b5ccf1f6c3d0063c
2021-10-13 17:47:42 +08:00
wanyanglan
86cfe52253
add ark js_runtime
...
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00