dingwen
2add907c4f
Snapshot support multiSpcae and multiFiles
...
Description:allcate object to different space and support serialize
multi files
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I592G1
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I5483566fd049d692cd19beece830957615d851c2
2022-05-28 09:43:38 +08:00
sunzhe23
e0bd313831
Support inline new for new lexical env
...
description:
1 implements new lexical by inline new
2 add rodata for aot code
issue: I57XRY
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-05-19 15:07:16 +08:00
Yuqiang Xian
5dffd792d6
Merge remote-tracking branch 'oh/master'
2022-04-28 11:24:41 +08:00
dingwen
6636896a3e
Support constpool serialize, global const and global env object reuse, string deduplication
...
Description:1.Support constpool serialize 2.Global const and global env
object reuse 3.String deduplication
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I54NF5
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: Ia05fb055b8e846a5437ff49d97e0141f72ee112e
2022-04-27 21:16:00 +08:00
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
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
xiongluo
70147c1220
The limits of old space and global space were fixed.
...
According to the survival rate, adjust the initial old space limit adaptively.
https://gitee.com/openharmony/ark_js_runtime/issues/I4UAY2
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-02-21 23:05:13 -10: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
xiongluo
510d33a07b
Optimize GC trigger
...
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-01-13 22:30:21 -10:00
yingguofeng@huawei.com
1d9b2ac3dd
nativePointer optimization
...
Change-Id: I97b58375c2ec30f33778d7f11fb40a9cf0ed346b
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2021-12-23 19:40:54 +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
zhangyukun
7ffcc4b20f
Sync js_runtime to openharmony
...
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
2021-09-08 09:20:53 +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