26 Commits

Author SHA1 Message Date
fangting
cdbfa4340e optimize compiler
Issue:#IALVU8
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-27 11:02:23 +08:00
Andrey Efremov
d8cf9a50f7 Optimize ArkJS VM build time
Issue: https://gitee.com/open_harmony/dashboard?issue_id=IACDZP

Change-Id: I729c3a2741cb2571d6f7184b2726e5f06eca802a
Signed-off-by: Andrey Efremov <efremov.andrey@huawei-partners.com>
2024-07-30 16:26:35 +08:00
张鸿雨
7738b581cd 空容器部分操作报错更改
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAEFSO

Signed-off-by: 张鸿雨 <zhanghongyu42@huawei.com>
2024-07-23 20:43:24 +08:00
YuliCheng
5124dcab1a Warning clear
Warning clear

Issue: #IAC989
Signed-off-by: yulicheng <chengyuli1@huawei.com>
2024-07-13 09:46:59 +08:00
@han_177
9901da08d6 修改告警
Signed-off-by: @han_177 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9KXZL
2024-05-07 19:08:57 +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
Zhenyu Pan
1ae9f637f5 Fix SetHash GC bug that use raw pointer during GC
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: Ibc143842aebe3e84678fbe0bcf914d82e34327c4
2023-12-24 16:47:07 +08:00
hzzhouzebin
444db026e8 Revert Immutable
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ic45423dee3c8d54b1e6eb82cfbd8312a95090382
2023-12-24 15:13:16 +08:00
Zhenyu Pan
8d5f4a7a39 Add Immutable bit field into hash filed, Remove ownerID and extRef
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I53e6a17a61762db4fcd2bed211df9ba0727bacfa
2023-12-21 20:11:20 +08:00
rentangyu
cd594b181b The same bigint type becomes two keys in the map
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I89N4V

Signed-off-by: rentangyu <rentangyu@huawei.com>
2023-10-21 17:47:14 +08:00
g00416891
29ff0a1ea3 Modify get hash use RandomGenerator instead of address
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I56f1690513b36ee182060fc7a91dd25e50251356
2023-10-17 14:15:08 +08:00
hwx1163501
7b47de5a55 Fixed data type under builtins (int->uint)
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LLDJ
2023-07-20 16:48:27 +08:00
g00416891
4669062b16 Judge special value use Isxxx() instead of equal
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I3113af0caddc39519d070cc370d1843e6177982c
2023-01-14 10:20:50 +08:00
huangzhenghua
714b655d0d adjust function position
move some function of object_factory to tagged_array

Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I986bb3b100929b8f323c0cf753ef392e5fe7c9c2
2022-12-08 18:42:35 +08:00
linxiang
31dbc9a4e3 add log fatal before unreachable
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I272f5c052e58a1067528893d857dbd460e2d4d86
2022-12-01 16:30:13 +08:00
huangzhenghua
51c184ca6e Integer overflow check
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I8514100acecdbd6af8712c1c7c38bf77b7dc2987
2022-11-28 16:32:55 +08:00
huangzhenghua
11f0ba2757 js api and Container code coverage and bugfix
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I4bf35dc7f89bf8f017a35d979919a1181dc5c810
2022-11-18 11:43:23 +08:00
huangzhenghua
92c11928d5 optimize lightweightmap removeat
LightWeightMap: :RemoveAt 31ms -> 11ms
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I5a652ec0d8bf0b5da1ec4d9fdfed1c2b90c365af
2022-11-08 09:18:55 +08:00
huangzhenghua
3273003712 lightweightset optimization
rk lightWeightSet::remove 148ms->44ms
rk lightWeightSet::removeAt 146ms->42ms

Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I5f19d3b7d548c044559855a3f55367298714fcc2
2022-10-26 19:21:49 +08:00
huangzhenghua
d0962b2175 containers optimization
containers clone & toarray & remove optimization
lightweightmap bugfix

Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I77292d48d0deb128eeb65c92592547823caa4171
2022-10-26 15:53:35 +08:00
openharmony_ci
83e5d625b5
!2623 Container optimization
Merge pull request !2623 from huangzhenghua/JS_Benchmark_optimization_on_master1013
2022-10-17 03:30:29 +00:00
huangzhenghua
083e6ea2ba JS_Benchmark optimization
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VOMY

List::Clear, Get
LinkedList::Clear
LightWeightMap::ToString
LightWeightSet::ToString
PlainArray::ToString
Vector::ToString
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>

Change-Id: I57902ed7da9d1a3db1d359564643723decb5c2f2
2022-10-17 09:39:55 +08:00
linhaoran
70c1b41a8a Add Exception Handling
Signed-off-by: linhaoran <linhaoran2@huawei.com>
2022-10-14 18:31:14 +08:00
wanghuan
fb87d25973 ecmastring interface refractor
desc: ecmastring interface refractor

solu:
1.add EcmaStringAccessor to provide interfaces outer;
2.package interfaces to not expose internal implementation.

issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NYV4
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I3d9da61068e6374372d75fecfb144e82d4fc4eb6
2022-09-23 16:29:26 +08:00
Riachel
08a2c1ec00 Descriptor: delete bit_utils.h
details: delete bit_utils.h
issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5IS38

Signed-off-by: Riachel <caolili14@huawei.com>
2022-07-26 15:03:18 +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