Commit Graph

6840 Commits

Author SHA1 Message Date
openharmony_ci
7923edc4cb
!4642 enhance ark hitrace ability
Merge pull request !4642 from DaiHN/trace
2023-08-28 09:17:38 +00:00
weng-xi
3c9f152c12 Fix the bug of AOT-PGO trackfield
fix the bug of AOT-PGO trackfield

Issue: https://gitee.com/open_harmony/dashboard?issue_id=I7WDU9
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I3dba3bd4fd5c0803d8ff582fb5f45bfda517ee2c
2023-08-28 17:11:54 +08:00
openharmony_ci
e7edf5786b
!4597 Add Branch Weight for Branch Prediction
Merge pull request !4597 from ChunyangWang/branch_weigth
2023-08-28 07:51:30 +00:00
openharmony_ci
5ccd37de6a
!4661 Support multi pass visitor and apply it on more passes
Merge pull request !4661 from yycc/master
2023-08-28 07:50:37 +00:00
maojunwei
0a91529bd7 opt RuntimeGetCallSpreadArgs
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7WATQ

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I54ad8b0a647fb212c698fe1ddc722f5413ed41dc
2023-08-28 15:41:03 +08:00
Chongwei Su
0fc9dc48f4 Judge js method by IsNativeWithCallField in cpuprofiler when get method info
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7WHHT

Signed-off-by: Chongwei Su <suchongwei@huawei.com>
2023-08-28 15:36:54 +08:00
linxiang8
88294ef9e6 open compiler mode
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7W6NE
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: Ib71ba73e79ab94c1dded646bac2abef99530501b
2023-08-28 15:34:37 +08:00
DaiHN
ce0333552a enhance ark hitrace ability
issue : #I7UFFE

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Iecfb67c9f4b6e4c1790ec307df73d4d4f75ecd64
2023-08-28 15:26:12 +08:00
linxiang8
c449547c67 Add Option for AOT TypedArray OnHeap Check
1.If the option is off, handle TypedArray both is on heap and is not on on heap.
2.If the option is on, deoptimize when TypedArray is not on heap.

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

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Ie0d64577c22d9dcbb4bb426370177c1fc085a866
2023-08-28 15:08:59 +08:00
openharmony_ci
51f7ad2939
!4696 Remove flto when enable_lto_O0
Merge pull request !4696 from Zhoucong/flto
2023-08-28 06:34:15 +00:00
openharmony_ci
07aab97cce
!4618 Reduce compilation time
Merge pull request !4618 from Zhoucong/time
2023-08-28 03:47:56 +00:00
Zhoucong
2cba408a22 Optimize compilation time
Signed-off-by: Zhoucong <zhoucong40@huawei.com>
2023-08-28 11:13:34 +08:00
openharmony_ci
c389813221
!4680 optimize json parse
Merge pull request !4680 from XinweiCai/master
2023-08-28 03:09:21 +00:00
张博虓
d55d86ba0e Bugfix of Dropframe Under One Testcase
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7WDZM

Signed-off-by: 张博虓 <305339823@qq.com>
Change-Id: I251de917a0186b0fad15d69f0c8a08b019244615
2023-08-28 11:07:40 +08:00
Zhoucong
4034b181f7 Remove flto when enable_lto_O0
Signed-off-by: Zhoucong <zhoucong40@huawei.com>
2023-08-28 10:32:12 +08:00
yycc
7b0f5069c5 implement combined pass visitor and apply it on some passes
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UY3E
description: Implement combined pass visitor to run many passes at the
same time.
Signed-off-by: yycc <yuyicen1@huawei.com>
Change-Id: I9a3fe4e6f8f6635f8d93d3a1ae1236d162f84519
2023-08-28 10:08:18 +08:00
hzzhouzebin
3dba2d7ba9 Add RecordPool for ap
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7W1X7
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Idd88715e0d0e5112bffcb94e420700fd22678dd4
2023-08-27 13:07:33 +08:00
openharmony_ci
93b44cdd10
!4653 Bugfix on JSFunction::GetOrCreateDerivedJSHClass when [[Prototype]] is modified
Merge pull request !4653 from chenjingxiang/getorcreate_derived_hclass_when_proto_is_changed_br
2023-08-27 02:02:14 +00:00
quiet-thought
35fec374f4 Bugfix on JSFunction::GetOrCreateDerivedJSHClass when [[Prototype]] is modified
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I7UYFO

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Iea473d285285ad5e25a30bb0e931402a0981fff4
2023-08-26 22:13:05 +08:00
openharmony_ci
8a0533c91d
!4692 CreateArrayWithBuffer Deopt Bugfix
Merge pull request !4692 from 吴璋达/deoptbug
2023-08-26 12:17:04 +00:00
openharmony_ci
578d0b827f
!4690 Enhance type infer for array types: part II
Merge pull request !4690 from huoqingyi/normal_arraytypes
2023-08-26 11:16:50 +00:00
openharmony_ci
cf7c3e4124
!4691 Fix launch heapprofiler fail
Merge pull request !4691 from 杨阳/fix_heapprofiler
2023-08-26 11:10:20 +00:00
wu_zhang_da
00adc99ffb CreateArrayWithBuffer Deopt Bugfix
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7W6DL

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I46a1446abb5186ad0a5e09c4eed09ae9b820b407
2023-08-26 18:57:07 +08:00
K0u1hw
dfba8adae6 Branch Weight for Branch Prediction
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7R98X
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>

Change-Id: I0ddb0acfa1716a641a70ebf1beb99034ccfcdaf0
2023-08-26 18:31:02 +08:00
yang-19970325
31acef1552 Fix launch heapprofiler
Issue:#I7W64X

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: I8907b9f5c2d2619920eff59db16454eb8349f6a3
2023-08-26 18:13:11 +08:00
huoqingyi
66924de139 Enhance type infer for array types: part II
Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UK53

Tests:
aot test, typeinfer test

Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: If1b81c26f3c18343d5ddacd2f42b99de36971bb4
2023-08-26 17:36:31 +08:00
openharmony_ci
63a992e10d
!4657 Fix function apply ir bug
Merge pull request !4657 from wpy111/master
2023-08-26 09:34:01 +00:00
openharmony_ci
24c7bffc31
!4684 运行ABC文件过程中,函数panda::ecmascript::EcmaString::FlattenNoGC存在空指针异常拒绝服务漏洞
Merge pull request !4684 from 任堂宇/master
2023-08-26 09:12:18 +00:00
rentangyu
d49eac3009 运行ABC文件过程中,函数panda::ecmascript::EcmaString::FlattenNoGC存在空指针异常拒绝服务漏洞
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VZER

Signed-off-by: rentangyu <rentangyu@huawei.com>
2023-08-26 11:37:27 +08:00
openharmony_ci
5c1352f2cf
!4674 Inline Distinguishes Between Setter And Getter
Merge pull request !4674 from 许杰/accesor
2023-08-25 10:41:35 +00:00
openharmony_ci
84a2517173
!4675 Support Dropframe for Cases of Exception and Async
Merge pull request !4675 from 张博虓/bugfix_exception
2023-08-25 09:59:11 +00:00
openharmony_ci
dd771f6f1e
!4670 Add ComputeElementCapacityHighGrowth
Merge pull request !4670 from maojunwei/array_opt
2023-08-25 09:40:30 +00:00
openharmony_ci
9e027c99cb
!4677 修复Array.prototype.[last]indexOf在Stable路径的漏洞
Merge pull request !4677 from Onlynagesha/dev-builtin-indexof-bugfix
2023-08-25 09:38:42 +00:00
openharmony_ci
6d78558f8d
!4555 [Bug]: 修改Array对象的原型__proto__,某些场景下arr[index]和arr.at(index)值不一致
Merge pull request !4555 from 吴文璐/for_I7O616
2023-08-25 09:29:59 +00:00
ginxu
e393e2bbd0 Inline Distinguishes Between Setter And Getter
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VPA9
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I0f0dfdfe37809567929034e16a468d7d3556c2d3
2023-08-25 17:23:39 +08:00
张博虓
1f691204ba Support Dropframe for Cases of Exception and Async
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VPQA

Signed-off-by: 张博虓 <305339823@qq.com>
Change-Id: I6254487a3f306cde644ac0efa1d37ae8e8ba8363
2023-08-25 16:34:24 +08:00
maojunwei
1bfe8ae21b Add ComputeElementCapacityHighGrowth
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VCIP

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I2196d72cf8d7a6fbef481321e7cff562b778c16a
2023-08-25 16:10:00 +08:00
Onlynagesha
200be9ea04 Bugfix in stable path of Array.prototype.[last]indexOf
Fixes a bug in the stable path of Array.prototype.indexOf and
Array.prototype.lastIndexOf where fromIndex is an Object with valueOf
and toString methods that have side effects to current array.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VQSP

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: I0bb8186018a8ccb715b13a7b92c925f35799be08
2023-08-25 15:54:30 +08:00
xwcai98
c0eb461323 optimize json parse
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VTNV

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: Id258fb7a4577ac97798945939eb3c129b0ac493d
2023-08-25 15:41:05 +08:00
wuwenlu
36af307871 修改Array对象的原型__proto__,某些场景下arr[index]和arr.at(index)值不一致
Signed-off-by: wuwenlu <wuwenlu@kaihong.com>
2023-08-25 00:39:31 -07:00
openharmony_ci
2f63cdec27
!4606 CreateArrayWithBuffer Optimization Calendar Bugfix
Merge pull request !4606 from 吴璋达/arraybug
2023-08-25 06:19:28 +00:00
openharmony_ci
7759c67a61
!4636 AOT supports typedarray types collected by PGO
Merge pull request !4636 from weng-xi/pgo_typed_array
2023-08-25 06:13:01 +00:00
weng-xi
3deaf264bc AOT supports typedarray types collected by PGO
1. Refactor pgo_type_infer using the strategy pattern.
2. Leverage typed array information collected by pgo, allowing JS files to enter the fast path for ldobjbyvalue.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7U02G
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I8ee048fb72c2743f3cdf832e509bebf1cc0c700c
2023-08-25 11:56:11 +08:00
wupengyong
f35bc1221e Reason:Fix function apply ir bug
Description:Fix function apply ir bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V5S4?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ice873828c23f995f2b51f9b23ea1a7aa5baf65c6
2023-08-25 11:49:46 +08:00
wu_zhang_da
4e100dc886 CreateArrayWithBuffer Optimization Calendar Bugfix
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7RPVE

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I390fcd000e5aaf3e9cc6e2aafbdeefc0a9e9998f
2023-08-25 11:40:35 +08:00
openharmony_ci
a3c8b5caab
!4662 Optimizes clear/Values/Entries/Keys of JSMap/JSSet with CIR
Merge pull request !4662 from xiaoweidong/map_set_clear
2023-08-25 03:26:37 +00:00
openharmony_ci
c2c8ffeea3
!4655 Optimize Array.sort for aot
Merge pull request !4655 from zhangyukun8/master
2023-08-25 02:40:52 +00:00
xiongluo
e13c36091a Let native pointer list managed by old gc or full gc
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I43a3e9d60c2315800b216977a8de97da29c0fbc1
2023-08-25 09:49:55 +08:00
openharmony_ci
b5c13a39d4
!4660 fix some app bugger
Merge pull request !4660 from linxiang8/master
2023-08-25 01:40:02 +00:00
xiaoweidong@huawei.com
ec9d732c5d Optimizes clear/Values/Entries/Keys of JSMap/JSSet with CIR
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7U8SD?from=project-issue

Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2023-08-25 09:25:32 +08:00