Description
1.GC is frequent during constpool parsing
2.Constpool object moved to old age allocation
Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5I8YT
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I0c88597f56a3ff60337fd21fa2d09d1dac004973
Description
1.GC is frequent during constpool parsing
2.Constpool object moved to old age allocation
Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5H2ZN
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ie4b54e205c5673705992a370f2af8f9b46e412e3
Reduce redundant code by using predefined global constants instead of creating new constant strings
Move all global constant strings into nonmovable space to improve code efficiency.
Issues: https://gitee.com/openharmony/ark_js_runtime/issues/I588TY
Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: I1f92188175c3129c5d8cec72a0396f11ce17c1c7
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