Commit Graph

14 Commits

Author SHA1 Message Date
hzzhouzebin
a1308124c3 Move EcmaString & StringTable on Shared Heap
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8YVTQ
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I04d16d68f38be1679f206a782ef76b9d34142589
2024-02-07 23:13:44 +08:00
lukai
783fa0a6d2 Forbidden Calling GetJSThread by Region
Forbidden calling getJSThread by region
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8VGW7?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Ieb42714f4ed7c44194134f4f0b4845217ef44d5e
2024-01-19 17:38:00 +08:00
ginxu
39d838b541 Support Fast Json Stringify
Add stringify cache.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Y7OH
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: Ia469e2d7ff0b974631aca08222463485a9e56f58
2023-09-04 19:10:43 +08:00
dingwen
d4a0e9b089 Snapshot support serialize builtins object independently
description:Add SerializeBuiltins interface, support create EcmaVM by deserializing builtins.snapshot file
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5B3QM
Signed-off-by: dingwen <dingwen6@huawei.com>

Change-Id: I0d19efe34826bdb58366df9eed571285afbcccca
2022-06-09 21:21:44 +08:00
wuzhefeng
ae35526d37 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
DaiH
ebf8c5b31f 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
openharmony_ci
5f071a4724
!930 Fix long gc problem (18ms) in photos app
Merge pull request !930 from xiongluo/fix_long_gc_problem
2022-04-11 07:56:54 +00:00
xiongluo
f421f14e23 Fix long gc duration problem in photos app
Add handle scope to avoid the large number of root nodes.

Remove unnecessary handles in the critical path.

Adjust the parameters in gc to avoid multiple consecutive Old GCs.

Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-04-10 20:45:15 -10:00
dingwen
861d97bb87 SnapShot serialize and deserialize by using ObjectXray visit object
field
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4ZOXH

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I6e03cfb4f7b89786b612b56adc0877f8b178058e
2022-04-10 12:32:07 +08:00
xliu
bddb55c976 ObjectFactory New Ecmastring Rectification
Description
  1. There are many kinds of interfaces to construct ecmastring from objectfactory
     in the virtual machine, and the name is not clear, so it is complex to use;
  2. Some of the unchecked interfaces are prone to errors during use. If there is
     no compression where compression is required, unpredictable errors will occur.
Issue:
  #I4ZL7X: ObjectFactory New Ecmastring Rectification

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I856f4e2e1df62823d928d738fa35affa97dbd3ed
2022-04-09 10:34:11 +08:00
wengchangcheng
8faa5f9abc [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
y00576111
6dc6688270 EcmaScript Standard Module Implementation
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification

issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT]

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00
hjzhangcm
808fabd093 fix warning file
Signed-off-by: hjzhangcm <845154910@qq.com>
2021-12-24 18:37:44 +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