DaiH
b3d8df8ad7
Reuse of Object.Create()'s hclass
...
-----------------------------------
Reuse of Object.Create()'s hclass
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C3BI?from=project-issue
Signed-off-by: DaiH <daihuina1@huawei.com >
Change-Id: I7c0aa4f4f92dc38dd0a11a106436f9d100b77f32
2022-06-13 22:05:01 +08:00
zhaozhibo
398ac87a36
fix codeDex warning(3)
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-17 15:23:43 +08:00
zhaozhibo
71f2d7e0eb
Merge branch 'master' of gitee.com:openharmony/ark_js_runtime into master
2022-04-14 02:57:27 +00:00
zhaozhibo
a57029dc79
fix codeDex warning.
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-14 10:56:51 +08:00
DaiH
3bc50421f4
Modification of patch "Get Object Literal's Hclass From Cache"
...
Signed-off-by: DaiH <daihuina1@huawei.com >
https://gitee.com/openharmony/ark_js_runtime/issues/I52AMU?from=project-issue
Some code formatting issue's modification of patch "Get Object Literal's Hclass From Cache"
1. Variable name : "fieldOrder" -> "fieldOffset"
2. uint32_t -> size_t
3. Extract "newJshclass->SetLayout(thread, layoutInfoHandle);" of the branches
Change-Id: Ib2e396ecbb10cac0b9fb2919c6f60f3633fbc376
2022-04-12 14:40:56 +08:00
DaiH
99f7f4bd0a
Get Object Literal's Hclass From Cache
...
Signed-off-by: DaiH <daihuina1@huawei.com >
https://gitee.com/openharmony/ark_js_runtime/issues/I4XVBQ
Sovle the problem that generate object without sharing Hclass, when object's Hclass have same shape.
Get Object Literal's Hclass From Cache
Change-Id: Ia17d056e32acd3356be138051f273c0cf50d82ee
2022-04-11 21:57:35 +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
lukai
7653faf3fe
merge bugfix from release into master
...
1. !888:fix gc bugs
2. !851:Fix ic store prototype bugs
3. !803:Fix Security Check Problems
4. other related ut bugfix.
Signed-off-by: lukai <lukai25@huawei.com >
Change-Id: I4dd30efd176fd33fefd064aee0cb30e5fd3e0477
2022-04-02 17:49:22 +08:00
openharmony_ci
6fd91b20e1
!887 fix native pointer bugs
...
Merge pull request !887 from lukai/master
2022-03-28 15:48:51 +00:00
lukai
a30877ddea
fix native pointer bugs
...
a native pointer should not be used after gc
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZJ92?from=project-issue
Signed-off-by: lukai <lukai25@huawei.com >
Change-Id: If103791ac792aa1e0f4c7f03a07f8fbd9a2a58c2
2022-03-25 12:50:26 +08:00
yingguofeng@huawei.com
2b48dab678
EmptyArray、EmptyTaggedQueue、EmptyLayoutInfo Move to GloblaEnvConstant.
...
When New class,It depends on EmptyLayoutInfo.So it must new EmptyLayoutInfo first.
https://gitee.com/openharmony/ark_js_runtime/issues/I4ZIGT?from=project-issue
Change-Id: I654ec61e7f3dc1ab55539dd64acba24489983107
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2022-03-25 11:05:13 +08:00
ding
d0f5244064
Fix Non Moveable Space OOM
...
Fxi xts application oom crashed by hclass allocation
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: Iade2abf6d63846f892ac73a57aac03b5c21d37c1
2022-03-20 15:02:45 +08:00
ding
e0b8620c6c
modify transitions to weak reference
...
1.modify transitions to weak reference and delete parent field in JSHClass.
2.add targeted test case to intercept the issue.
3.fix weak ref in parallel gc
4.fix TaggedCastToWeakReferentUnChecked() in stub
Change-Id: I118d293a04390fba6c21179a0a8ac7993dae5e96
Signed-off-by: ding <dingding5@huawei.com >
2022-03-14 11:02:43 +08:00
hjzhangcm
347d8227af
fix warning files
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-02-16 14:11:59 +08:00
wengchangcheng
9a2b7d04e8
optimize primitive type ACCESSORS
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2022-01-25 18:05:12 +08:00
wengchangcheng
2bfd68c01a
modify ACCESSOR for EcmaString and TaggedArray
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I2995dc75ed34e8eb2bf249f2cced62ec9d91250e
2022-01-17 11:51:50 +08:00
ding
c4ffd76fd3
template class
...
Signed-off-by: ding <dingding5@huawei.com >
2021-12-25 09:51: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
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