wengchangcheng
cd90e396a7
Descriptor: ark hilog refactor
...
details:
1. use hilog in ohos device
2. use panda logger in host
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
dingwen
0ed1f47aa6
Fix GC memcpy_sp bug
...
Description: Fix memcpy_sp copy object fail bug
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5E0FE
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I34655bc18f7f8333507cd5a00115a8e8135b3c12
2022-07-01 09:59:00 +08:00
wengchangcheng
6468341c72
Descriptor: delete some internal unused code
...
details: delete unused code
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5COHE
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I5fe62c58353839d4aac1144fc99e2cf87f4374eb
2022-06-17 23:03:42 +08:00
Yuqiang Xian
daf51dae0f
Refactor Heap Region class.
...
1) Get rid of the dependency on "Space";
2) Fix a bug in RegionFlags definition, and tidy it up.
3) Fix the flag check logic to make it support multi-bit test;
4) Clean-up some logic to determine if a region or an object is valid / alive;
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I590Z8
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-05-24 16:28:00 +08:00
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