Commit Graph

8 Commits

Author SHA1 Message Date
yaoyuan
8489155ff5 Container Optimization - HashMap - SetAll and Set
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8XOJR

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: Ibf8017c6a14aba2cabcc296946f708aca04e1b44
2024-01-25 10:30:52 +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
bi-hu
cf6ea64d64 Modify the problem that the set interface 401 error code in the hashmap cannot be thrown
Signed-off-by: bi-hu <bihu@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6OPXO
2023-03-21 10:45:56 +08:00
wengchangcheng
92d3f56507 Fix some bugs and JSMutableHandle use error
1. fix some bug report by compiler warning
2. don't cast JSHandle to JSMutableHandle

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6HXVR

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I0df90295dd7a01f59c6e39027afe419a8b4e0322
2023-02-27 11:00:36 +08:00
lichenshuai
37acb4f9c0 Optimize HashMap.setAll and HashMap.hasValue
setAll() and hasValue() are slow in HashMap. They need to be optimized.
Avoid GetCurrentNode().

Issue: #I5WJUX

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I46f93a2b23ab4b3a41a4946c8211dd00cc0e8ceb
2022-10-21 10:27:43 +08:00
linhaoran
70c1b41a8a Add Exception Handling
Signed-off-by: linhaoran <linhaoran2@huawei.com>
2022-10-14 18:31:14 +08:00
chenqi
0ca2fb1ce3 Fix HashMap And HashSet
Description
    Modify the format problem and add protection to taggedhasharray length == 0.
Related issue
    https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5M90M

Signed-off-by: chenqi <chenqi151@huawei.com>
2022-08-15 18:06:05 +08:00
linxiang
1d9edc9885 refactory: move js_api file to js_api catalogue
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: Id5bba5fa97c4cbfe4fee9f557cc92b020ddb3be4
2022-07-23 15:52:48 +08:00