openharmony_ci
31ec8e87dd
!1313 Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
...
Merge pull request !1313 from 王犇/master
2022-05-18 11:04:47 +00:00
wangben
0ae45e4df7
Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
...
Signed-off-by: wangben <wangben15@huawei.com >
2022-05-18 18:02:39 +08:00
Riachel
df34983177
add reportprogress
...
reportprogress value before StopHeapTracking or DumpHeapSnapshot
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57VAP
Signed-off-by: Riachel <caolili14@huawei.com >
2022-05-17 20:12:15 +08:00
openharmony_ci
e41e922206
!1300 Fix munmap bug on windows platform
...
Merge pull request !1300 from dingwen/master
2022-05-17 02:07:42 +00:00
dingwen
4e8493f6d4
Fix munmap bug on windows platform
...
Description:Only munmap once when MemMapAllocator Finalize
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I57FVJ
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: Idd9d689a1332b2ab60626cc0c5445f2ec3975268
2022-05-16 16:16:10 +08:00
openharmony_ci
6bcfeb6110
!1286 fix concurrent sweep bugs
...
Merge pull request !1286 from lukai/concurrentSweepBugfix
2022-05-16 03:20:43 +00: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
wuzhefeng
bf8671a948
Refactor Compilation Framework Part-3
...
There are many similar "call" in the CircuitBuilder and most of them can
be merged or removed. Merge the similar ones and remove the redundant
ones to improve the maintainability and readability.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57GSO
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com >
Change-Id: Ie575580a5d4d3eae67eff49efd8df126d96db48f
2022-05-14 20:21:38 -07:00
yingguofeng@huawei.com
5cfe5cf07c
mem pool size maybe overflow in small memory device
...
reduce pool size
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I57B9N?from=project-issue
Change-Id: Iebc6f6252425b4a2954828b9c102d4ec9c01d8eb
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2022-05-13 16:48:37 +08:00
openharmony_ci
bcb29c4004
!1260 replace bytrace key to hitrace_meter for ark_js_runtime
...
Merge pull request !1260 from wenlong_12/master
2022-05-13 03:33:56 +00:00
luochuhao
1a370607c9
Delete duplicated co stub generation and related conditional code.
...
Adapt call.S to current EcmaRuntimeCallInfo change.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56JF1
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: I117c6b088a82b15c2afcb18b4a74f47bfd705545
2022-05-12 17:24:57 +08:00
wenlong12
9041b8f1e8
replace bytrace key to hitrace_meter
...
Signed-off-by: wenlong12 <wenlong12@huawei.com >
Signed-off-by: wenlong12 <wenlong12@huawei.com >
2022-05-12 16:37:03 +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
369ffd9a85
Merge remote-tracking branch 'oh/master'
2022-05-11 08:09:37 +08:00
openharmony_ci
a3b197d63b
!1247 fix some bugs
...
Merge pull request !1247 from lukai/master
2022-05-10 13:32:38 +00:00
openharmony_ci
5f169cd0f8
!1246 Fix run unit tests fail on rk3568
...
Merge pull request !1246 from dingwen/master
2022-05-10 13:15:24 +00:00
lukai
4e3370f761
fix some bugs
...
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56MV6?from=project-issue
1. variable used but not initialized, which causes gc bugs
2. taggedvalue used after gc, which causes gc bugs
Signed-off-by: lukai <lukai25@huawei.com >
Change-Id: I35814a58ab0cb1e0a296f0ed9c314d7b097eafa3
2022-05-10 19:21:56 +08: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
openharmony_ci
8b30abfb0c
!1251 fix codex warning
...
Merge pull request !1251 from hjzhangcm/master
2022-05-10 10:21:13 +00:00
dingwen
f4749b6029
Fix run unit tests fail on rk3568
...
Description:Everytime when vm destroy, munmap memPool resource
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I56MQ3
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: Ie28c6c2e59b75e896144357008b8561e6ae595e9
2022-05-10 17:23:29 +08:00
hjzhangcm
2d03c629bd
fix codex warning
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
Change-Id: Ideec8913261803a2f3f1714ae05ffabb1b04e372
2022-05-10 16:15:26 +08:00
ding
a414d41091
Lower the log level of loading stub file failed.
...
Lower the log level of loading stub file failed temporarily to pass it in arm64.
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I6cd57ad99956a3ab26dce06c5e59c7219efc932e
2022-05-10 15:11:22 +08:00
ding
8358c88dda
Prebuild com_sub.m and bc_stub.m
...
Generate com_stub.m and bc_stub.m in build phase.
Add FATAL log if load stub file failed.
Move run_ark_executable.py to js_runtime/script/ directory
Add --time-out option in run_ark_executable.py.
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I6136c5f0dc132a086119f9f2cc6eaf934ba0087b
2022-05-10 09:56:40 +08:00
openharmony_ci
87ffbd0d42
!1190 Add support for Mac platfom
...
Merge pull request !1190 from Pan Zhenyu/master
2022-05-09 06:15:13 +00:00
openharmony_ci
94bf56d64b
!1230 fix part of the use case problem
...
Merge pull request !1230 from wanyanglan/master
2022-05-09 04:09:17 +00:00
ZhenyuPan
78f27c883f
for ark_js_vm on mac
...
related issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55GYU
Change-Id: I3faad1171ed2ef08660c62f0ff6c88b34c5cbcfa
Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com >
2022-05-09 09:06:58 +08:00
wanyanglan
404fc3fb09
fix part of the use case problem
...
1. AssemblerStubTest adapts to the latest llvm library
2. Fix aottest failure in heapverify open state
3. Shield createemptyarray, definefunc use cases.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I56AKK
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: Id8836d378832a68a3a17105809f2f4710918fc3a
2022-05-08 22:50:59 +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
adecfbd30b
Merge remote-tracking branch 'oh/master'
2022-05-06 21:25:57 +08:00
openharmony_ci
a43484a4a2
!1204 fix codex warning
...
Merge pull request !1204 from hjzhangcm/master
2022-05-05 13:21:48 +00:00
Yuqiang Xian
3f15ef4723
Fix code check issues.
...
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55HWI
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-05-05 20:40:35 +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
hjzhangcm
3d42158184
fix codex waring
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-05-05 17:03:02 +08:00
xliu
1893bbfbe6
Fix UT test and json parser
...
Description
1. Fix UT test
2. Fix mem_map_allocator
3. Fix json parser
Issue:
#I55S8H:Fix UT test and json parser
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I1e5107a1f119eb1422a40f2275d961b366dda46b
2022-05-05 11:36:33 +08:00
Yuqiang Xian
f17e646f69
Merge remote-tracking branch 'oh/master'
2022-04-30 20:09:00 +08:00
Yuqiang Xian
9e88572f35
Add descriptions to concurrent marking status check.
...
Don't use IS_STANDARD_SYSTEM config to switch off concurrent marking.
Fix typos and grammar issues.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55HWI
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-04-30 20:02:19 +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
openharmony_ci
7b9ac34c6b
!1183 fix codex warning 【part 4】
...
Merge pull request !1183 from zhaozhibo/master
2022-04-30 03:38:27 +00:00
zhaozhibo
4b279c9d79
fix codex warning
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-30 10:31:33 +08:00
openharmony_ci
ff44193d07
!1171 Modify option source of stub compiler
...
Merge pull request !1171 from luochuhao/modifyoption
2022-04-30 00:57:37 +00:00
openharmony_ci
ad1d6f62fa
!1185 Change the near OOM limit calculation method
...
Merge pull request !1185 from xiongluo/change_near_OOM_limit
2022-04-29 09:06:45 +00:00
xiongluo
e9d8c16a23
change the calculation method when mem is near oom
...
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-04-28 21:11:09 -10:00
luochuhao
86fda0792b
Modify option source of stub compiler.
...
Using options in js runtime option list and delete stub compiler option.
Add path check for stub compiler generation phase.
Load stub file before loading of aot file.
Add runtime option for optimization level configuration.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I557Q2
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: Ifbaa7a2dc4333310c62f1f8e230eefb7a2136ca5
2022-04-29 14:40:18 +08:00
openharmony_ci
fd513bc419
!1167 move interpreter helper stubs from common stub to bc stub
...
Merge pull request !1167 from wanghuan2022/master
2022-04-29 03:35:18 +00:00
openharmony_ci
7c39a61fdd
!1174 delete object_xray-inl.h, move into object_xray.h and create visitor.h
...
Merge pull request !1174 from zhaozhibo/master
2022-04-29 02:00:06 +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
wanghuan
18792a746a
move interpreter helper stubs from common stub to bc stub
...
desc: move interpreter helper stubs from common stub to bc stub, beacuse these stubs' signatures are the same and need not construct frame pointer like bc stub.
solu:
1. delete old helper stub define in common stub, and add new helper stub define in bc stub.
2. add new targetKind in CallSignature to distinguish helper and normal stub in loading stub.
3. delete argc in stub define.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I556K1
Signed-off-by: wanghuan <wanghuan80@huawei.com >
Change-Id: I46224e4568b45794aa1bac97682afc41696d5faa
2022-04-28 21:14:18 +08:00
openharmony_ci
71869e05c1
!1141 add more detailed logs when allocate failed
...
Merge pull request !1141 from lukai/master
2022-04-28 11:51:01 +00:00