Description
Cut out most of the initialization logic in Runtime::Create and disconnect the
inheritance relationship of most classes such as JSThread.
Issue:
#I53418: Runtime architecture adjustment
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: Ib9c1a40354f77d32e515e23334e7f4b4a4fa3259
Description
In the FastSubString interface of EcmaString, which is a fast path,
there is a logical error in judging whether characters are compressible
Issue:
#I53HR7:fix EcmaString::FastSubString
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: If8d93fadbae5805bb2c8a674f3fc7725a562c032
Description
1. The developer reported that the corresponding attribute could not
be obtained through the key value.
2. There is a bug in the comparison logic in ecmastring::
equaltospilledstring function, which leads to unpredictable results.
Modify the comparison logic to make the spliced two strings equal to
the compared string.
Issue:
#I52EB0: fix EcmaString::EqualToSplicedString
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I2186c4ffc6084b05ea2fe64b41a76c648103e408
1、Optimize GC parallel evacate strategy: evacuate to old space with FreeListAllocator.
2、Adjust strategy that whole region evacuate: Only support new fromspace to new tospace.
3、Adjust Semi space capacity growing/shrinking strategy and Adjust Semi space initialize size.
splay-benchmark:
blue zone: ark_js(2500), v8(2000)
ark-dev: ark(1200), v8(1500)
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4SASV?from=project-issue
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: Ie9c6e94c47f531bf9c1ebf5bc7443dd1acb7d2ac