zhangyouyou
375b37dcbb
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
...
Change-Id: I14433e2ffdaaa8b2d16ff6541d0293aef44bb618
Change-Id: Idcd2782b76ee0767c86ab9168d47adce0eaff180
2023-06-11 16:17:47 +08:00
xiongluo
cf451e377d
constant string optimization
...
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Ieabea29874752fed615b0a911cf4118e791663eb
2023-05-08 17:07:03 +08:00
wu
ee76612f94
Add Incremental mark interface
...
Add incremental mark interface
Predict idle gc pause before running in idle time
Rectificate gc logs
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6XYAG?from=project-issue
Signed-off-by: wu <wuwanqi2@huawei.com>
Change-Id: Idcb192f10b927507059c1ce2129f2bff82bd8d6d
2023-05-05 15:24:47 +08:00
wengchangcheng
01121dd6d8
Fix Log print error in intl
...
Add ENABLE_HILOG defines in intl source_set
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6O7R9
Test: UT & 262
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I5f77533baec9575f495b068d516528d0697b8421
2023-03-24 20:34:46 +08:00
openharmony_ci
1639f8a106
!3228 Fix standalone UT and unify it with test262
...
Merge pull request !3228 from Zhoucong/fix_ut
2023-01-09 11:04:04 +00:00
lordwithcc
122533d4da
Merge branch 'master' into fix_ut
2023-01-09 17:55:37 +08:00
Zhenyu Pan
24b217ca04
Extract ICU locale relevant processing from JSLocale
...
Issue:Extract ICU locale relevant processing from JSLocale
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I796890fa7999d8ec9c40646fc3fe899bc439f12f
2022-12-30 15:34:34 +08:00
lordwithcc
e14a68036e
Fix standalone UT
...
Signed-off-by: lordwithcc <zhoucong40@huawei.com>
2022-12-27 09:39:12 +08:00
lichenshuai
99ba28cb97
Enhance Return Stack for DFX
...
Provide another API to print bytecode and stack info.
Issue: #I630LJ
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I712365b7363b5fd433d12d5a205909f38766283c
2022-12-12 19:28:29 +08:00
maojunwei
09d2070b16
Fix for freelist pool memory fragment
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I62K33?from=project-issue
Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: Ib64a16eb988c7c222952f3ca52d14bffb24a60ed
2022-12-02 15:07:11 +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
f2fecf5651
UT Bugfix
...
ObjectFactoryTest InsertElementByIndex bugfix
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I1aa391e8a5aa3a2d53edd11fd316e65304985191
2022-11-08 21:31:53 +08:00
openharmony_ci
ca7d0681ff
!2521 Add onheap path for arraybuffer while arraybuffer bytelength is not greater than 64
...
Merge pull request !2521 from 武万琦/arraybuffer
2022-11-03 13:45:40 +00:00
openharmony_ci
97dead7208
!2807 Add module ut test case
...
Merge pull request !2807 from 常佳兴/master
2022-11-02 03:43:13 +00:00
changjiaxing
2c07c46ad3
Add module ut test case
...
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5YSV8?from=project-issue
Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I34155dbcb0c77a386ec96883103379c27d0613d8
2022-11-02 10:52:30 +08:00
yingguofeng@huawei.com
034592baa8
fix(compiler): PGO code coverage
...
closes #I5YOK8
Change-Id: Iaa3502168c03fcdea20af97d5ec115512e6a5909
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-11-01 17:01:36 +08:00
武万琦
db94fdde7d
Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into arraybuffer
...
Signed-off-by: 武万琦 <wuwanqi2@huawei.com>
2022-10-29 06:43:17 +00:00
wuwanqi
68c5a59453
Add onheap path for arraybuffer while arraybuffer bytelength is not greater than 64
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5THVD?from=project-issue
Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: I9a7d6df4efdb97969e4cf23742db7d51c3abe4f8
2022-10-29 14:25:41 +08:00
yingguofeng@huawei.com
ff30cb997e
fix(AOT): atoi change to strtol and other optimization
...
Closes #I5XNYC
Change-Id: I034a98c1d2e6755c690069ce3f9c089cbccfdadd
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-10-27 20:04:44 +08:00
wangzhaoyong
f4662fc988
support serialize function
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5XEMF
Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: Id6d1152877cc8558a9ffeb122bfa56be7486d1f2
2022-10-27 11:30:54 +08:00
wengchangcheng
32ef9871e7
Descriptor: Fix standalone build error
...
Details: modify gn and some template
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5XGZ4
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Idca98896e01426fe055025efe8800ac01d27d3c5
2022-10-25 12:52:10 +08:00
yingguofeng@huawei.com
3d7a083324
feat/perf(aot/compiler/asm-interpreter): compiler supports PGO optimization
...
1、The JS runtime counts the number of function calls and records the methodID with fewer calls.
2、The AOT compiler supports filtering the unexpected functions according to the profile file without AOT.
Closes #I5W57I
Change-Id: Ie6f7c9d2132b16a95b4b9ed84cb4ef67332b7604
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-10-24 17:49:12 +08:00
lifansheng
d1dfd3aa2c
Add test case for esmodule
...
issue: I5T6KA
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: I9a49ad3a61d92afa5720bf85b04bd3decfaa3e1d
2022-09-27 10:24:06 +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
lifansheng
4786ef256d
Fix ParseLiteralConstPool Bug
...
issue: I5S7KU
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: Ia9af884a837a289be0f36f14500e3a2729f1cb3d
2022-09-21 15:25:02 +08:00
yingguofeng@huawei.com
7ca0219102
fix(UT): Fix ark_js_host_unittest test failed in runing asan
...
Closes #I5Q3HC
Change-Id: Ic52a0b137bb71784f92d530cae4df582c7b53dcf
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-09-15 20:43:43 +08:00
zhaozhibo
c7b6343769
add UT testcase for js_stable_array
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-09-05 16:09:17 +08:00
dingwen
8448df7965
Throw OOMError instead of Fatal when jsheap is used up
...
Description:When jsheap is used up, throw OOMError instead of LOG(Fatal)
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NXCQ
Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I0f561f81fcd8a85ef5cf7792f9b455f0b5942959
2022-08-29 11:41:11 +08:00
@wang-jingwu001
4d95d1a9c1
Add asyncgenerator ut test case
...
Signed-off-by: @wang-jingwu001 <wangjingwu3@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NYZ1
2022-08-24 20:35:22 +08:00
hjzhangcm
8599fa27fb
add test case for WaiterList and modify test case
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-23 19:53:38 +08:00
zhaozhibo
a1e5795fbd
add unittest case for transitions dictionary
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-08-18 09:53:58 +08:00
hjzhangcm
a55cd3fde0
add test case for TemplateString class
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-15 11:24:48 +08:00
openharmony_ci
bc04a1e51e
!2042 add a unit-test for JSMapIterator
...
Merge pull request !2042 from hjzhangcm/master
2022-08-12 08:49:38 +00:00
hjzhangcm
5597b60522
add test case for jsMapIterator class
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-12 15:17:21 +08:00
hjzhangcm
2a594fc743
add test case for TemplateMap
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-12 11:57:40 +08:00
hjzhangcm
ce92dae042
add test case for weakvector
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-11 09:43:52 +08:00
hjzhangcm
9a27a84d78
add test case for TaggedHashArray class
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-10 09:33:19 +08:00
hjzhangcm
0c45ba588e
Increase compilation options to compile use cases faster and delete name_dictionary_test.cpp and move the deleted use cases to new files and add use cases
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-04 19:26:54 +08:00
hjzhangcm
e13fd8c15f
add test case for TaggedArray and Split case to EcmaVm_003_Test
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-08-03 16:16:38 +08:00
wengchangcheng
1243fa6507
Descriptor: merge library to libark_jsruntime.so
...
details: use static link of pandafile and pandabase
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5JHY4
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ie630f5cd7d646c18d2518f793c5827f742d560c3
2022-07-29 10:35:32 +08:00
hjzhangcm
3fd7611758
add test case for LayoutInfo
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-27 18:04:56 +08:00
openharmony_ci
eb7e273942
!1896 add a unit-test for JSTaggedNumber and fix 262 script
...
Merge pull request !1896 from hjzhangcm/master
2022-07-25 14:02:28 +00:00
hjzhangcm
1c6c3b176f
add test case for JSTaggedNumber and fix 262 script
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-25 18:08:56 +08:00
openharmony_ci
1c9171e517
!1625 Add Containers HashMap and HashSet
...
Merge pull request !1625 from 刘甘霖/container_hashmap
2022-07-20 09:02:54 +00:00
liuganlin
6caa813d58
Add Containers HashMap And HashSet
...
Description
1.To ensure the high performance of container classes, HashMap and HashSet is provided in ark.
2.Add test cases for HashMap and HashSet.
Related issue
#I5D0WV:Add Containers HashMap and HashSet
Signed-off-by: liuganlin <liuganlin@huawei.com>
2022-07-20 11:16:28 +08:00
hjzhangcm
c2ae34d089
add test case for JSRelativeTimeFormat and delete unused codes
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-19 16:13:26 +08:00
yinchuang
c6e463a96a
add --lto-O0 option for some test so
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5H78Q
Signed-off-by: yinchuang <yinchuang@huawei.com>
2022-07-15 16:21:45 +08:00
openharmony_ci
59679de569
!1793 add a unit-test for JSRegexpIterator
...
Merge pull request !1793 from hjzhangcm/master
2022-07-14 15:05:03 +00:00
dingwen
bf637c1f41
modify arkcompiler_ets_runtime path
...
Description:modify arkcompiler_ets_runtime path
issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5GE38
Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I43e2aae687a4f05fe6505b0b0f70f0846d047b84
2022-07-14 12:35:04 +08:00
hjzhangcm
2b814cceb5
add test case for JSRegexpIterator
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-14 09:52:10 +08:00