lukai
cdcd46b347
fix concurrent sweep bugs
...
Both concurrentSweep thread and js thread will operate remember set, which leads to competition.
Use two remembersets, one for concurrentSweep, one for js thread
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5794M?from=project-issue
Signed-off-by: lukai <lukai25@huawei.com >
Change-Id: Ie86ead2e5f5dfaf47c9830a56d158711b0ba9147
2022-05-15 19:42:58 +08:00
openharmony_ci
42355bd8fb
!1262 Refactor Compilation Framework Part-2
...
Merge pull request !1262 from Gargoyle.h/wzfmaster-dev
2022-05-11 12:29:01 +00:00
wuzhefeng
662f2b78a6
Refactor Compilation Framework Part-2
...
1. Rename IR builder to improve the readability.
2. Remove redundant Headers to decouple the relationships of components.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56YPT
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com >
Change-Id: I0c8da6cd55bb8e7f33421ba846bab89bd5e06c55
2022-05-11 04:28:10 -07:00
Yuqiang Xian
d9d281af16
Merge remote-tracking branch 'oh/master'
2022-05-10 19:04:40 +08:00
Yuqiang Xian
e83020c9ea
Fix issues in calculating promoted objects size for young semi-space GC.
...
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55HWI
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-05-10 18:24:37 +08:00
dingwen
61b6782b65
Snapshot code optimization
...
Description:Snapshot code optimization include modify class name SnapShotSerialize to SnapShotHandler, delete some magic number, add interface to acquire global env and global const object index.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55CQ3
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I338028c5cfd4f992095f2bded2956e33f275bb1b
2022-05-07 09:23:06 +08:00
Yuqiang Xian
42bbb16a55
Get rid of "Heap" class / instance dependency from "Space" base class.
...
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55HWI
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-05-05 20:14:16 +08:00
openharmony_ci
272cf6664d
!1155 Refactor the GC related components - Part 4
...
Merge pull request !1155 from klooer/master
2022-04-30 09:45:48 +00:00
zhaozhibo
b7fb4444ec
delete object_xray-inl.h, move into object_xray.h and create visitor.h
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-28 21:25:51 +08:00
Yuqiang Xian
57c0a4f055
Rename GC types and spaces to make it more consistent and clear.
...
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54NZF
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
Change-Id: Ieeb356480fe6767ec6c2c53b6119e8c4b99d9ff9
2022-04-27 18:28:18 +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
openharmony_ci
f1c183d39b
!1134 Refactor the GC related components - Part 1 & 2
...
Merge pull request !1134 from klooer/master
2022-04-27 09:37:38 +00:00
Yuqiang Xian
8e93c703bf
Refactor the GC related components.
...
Part 3: Clean-up GC work related utilities and get rid of confusing terminologies.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54NZF
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
Change-Id: I8085a6a074549366ec59214ce499d873660015e2
2022-04-26 14:34:43 +08:00
Yuqiang Xian
ad2baf6777
Refactor GC related components - Fix code check issues
...
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54NZF
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
Change-Id: I8146bc96b498dda1b0da98a2cf3eb94f4e942c49
2022-04-26 14:34:18 +08:00
Yuqiang Xian
d6905ec209
Refactor the GC related components.
...
Part 2: Rename MixGC to PartialGC.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54NZF
Change-Id: Ic7a91f4f8102994d7383d25d949b89310666401a
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-04-26 14:34:04 +08:00
Yuqiang Xian
d5d9acb51d
Refactor the GC related components.
...
Part 1: Rename evacuator classes and provide a generic GarbageCollector interface.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54NZF
Change-Id: Iedc7817f55afa136df5ece95d456b85a1bd5aadc
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-04-26 14:33:49 +08:00