Commit Graph

278 Commits

Author SHA1 Message Date
fangting
b639028298 tdd output path change
Issue:#IB5JIK
Signed-off-by: fangting <fangting12@huawei.com>
2024-11-20 10:29:21 +08:00
openharmony_ci
e404d38c69
!10226 Check the results of NewRuntimeCallInfo
Merge pull request !10226 from shaoxiangdong/br_NewRuntimeCallInfo_1113
2024-11-18 09:34:19 +00:00
shaoxiangdong
3bf1a3cee9 Check the results of NewRuntimeCallInfo
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB40SU

Signed-off-by: shaoxiangdong <shaoxiangdong@huawei.com>
Change-Id: Ifdc5efb6ba5e9a520a2034770ca5fccc46f36b62
2024-11-18 09:29:41 +08:00
dov1s
a5db84bf35 Opt TraceIC
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB32C4

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I2fd7b34302b2fb1444c8148857e5a521fcdef107
2024-11-15 11:35:04 +08:00
openharmony_ci
e04124faac
!10190 Tidy AOT code
Merge pull request !10190 from XinweiCai/tidy_aot_code
2024-11-13 04:12:35 +00:00
openharmony_ci
b9f948ff6a
!10148 StoreMiss return exception bugfix
Merge pull request !10148 from jiachong/jc_storemiss
2024-11-12 05:32:26 +00:00
openharmony_ci
945abde7e5
!9875 Delete IC unused code
Merge pull request !9875 from maojunwei/refactoringic
2024-11-11 14:13:57 +00:00
xwcai98
4c5b4a1e77 Tidy AOT code
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB398K

Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: I520437b0707e7bc02334d4eba9b02971893dafba
2024-11-11 09:13:53 +08:00
jiachong
6c088c187f StoreMiss return exception bugfix
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB2ICL
Signed-off-by: jiachong <jiachong6@huawei.com>
Change-Id: I410f31a1f60b6b113abb6e9239c6b262850dcef6
2024-11-08 10:39:07 +08:00
openharmony_ci
3c3bec3244
!9959 Fix StoreIc miss Accessor bug
Merge pull request !9959 from maojunwei/accessicfix
2024-11-07 11:19:29 +00:00
maojunwei
8499c4b9bf Fix Store Accessor ic miss
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZORS

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I3d7dce48470905d384cd7e1959cf5d521af54d39
2024-11-06 17:17:31 +08:00
dov1s
4b526c92a6 IC Refactor
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZ5HX

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I705563bca210ec8c4124fbd51b9723b1e417f61c
2024-10-30 16:00:10 +08:00
dov1s
0b17d30ad1 Refactoring Inline Cache
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYLFA

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I2201d8e765a64e7dbb044268f4515ea02707b835
2024-10-21 16:38:43 +08:00
openharmony_ci
79fd5ef8d4
!9120 Fix some pgo code style problems
Merge pull request !9120 from 陆佳慧/adjustForCodeStyle
2024-09-11 20:25:31 +00:00
l00799755
caf18b0580 Fix some pgo code style problems
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAP3PI
Description
1.Fix code style problems
2.Add comment for function IsCompatiableWithAOTFile
3.Refact fix bad ap code
4.Fix the inline function whose lines over 12

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: I469a6d3c5faf0b3e715be52cb677ffd8da9c32e0
2024-09-06 15:31:49 +08:00
dov1s
9f66728121 UpdateReceiverHClass in UpdateStoreHandler
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IANXQV

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I0b64ecc009d9244feba7a0a896bd973da5cc278e
2024-09-04 13:56:38 +08:00
openharmony_ci
76ae8ff357
!8787 [ets_runtime] Add a private property check when stPrivateProperty
Merge pull request !8787 from xingshunxiang/stpropertyCheckAdd
2024-08-29 16:16:55 +00:00
openharmony_ci
b98d72eb7d
!8727 fix mismatched type when use setter in sendable
Merge pull request !8727 from huangfeijie/fix_sendable
2024-08-29 15:18:33 +00:00
15651885392
456aff477b [ets_runtime] Add a private property check when stPrivateProperty
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IALC0X?from=project-issue
Reason: when handle stPrivateProperty in interpreter mode with arg --enable-pgo-profiler=true, it lack of private property check in StoreICByName, which leads to some Error can't be throw correctly when run some cases
Description: performed a private propertycheck in StoreICRuntime::StoreMiss

Signed-off-by: 15651885392 <xingshunxiang@huawei.com>
Change-Id: I1c7b5348aa05dd4f39085efb79082050e17f6814
2024-08-27 14:49:44 +08:00
huangfeijie
3a1d020fe6 fix mismatched type when use sendable
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAKDKP?from=project-issue

Signed-off-by: huangfeijie <huangfeijie@huawei.com>
2024-08-18 16:17:02 +08:00
l00799755
2a27085219 Move ExtraInfoMap to ProfileTypeInfo
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFPQK
Description
Move ExtraInfoMap to ProfileTypeInfo

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: I0cf4f43ddc18b65a983950e9a005ebab39f13343
2024-08-15 16:04:20 +08:00
openharmony_ci
0e7a11bfc2
!8676 Fix gc crash by weakref
Merge pull request !8676 from 陆佳慧/FixWeakRef
2024-08-15 03:27:08 +00:00
l00799755
aa756f01fe Fix gc crash caused by weakref
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAJRR3
Description
Fix gc crash caused by weakref

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: I5f6253203e1f865b2602d658f0169ff8ba448a9b
2024-08-14 09:58:01 +08:00
fangting
902e4ff2c0 optimize compiler
optimize compiler

Issue:#IAJ541
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-13 10:17:04 +08:00
yaoyuan
f8f343bf9e [Refactor] JSHClass TryRestoreElementsKind
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFG84

Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: I73c0b75100c7d1fffa7408e11fb8cdefe13d25bc
2024-08-07 10:05:23 +08:00
openharmony_ci
a1db110f37
!8419 黄蓝区不一致:“回退五大项整改遗漏”
Merge pull request !8419 from 杨云飞/master
2024-08-02 05:33:27 +00: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
杨云飞
d5291f4a8d 黄蓝区不一致:“回退五大项整改遗漏接口"
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFERE

Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-07-30 14:49:10 +08:00
openharmony_ci
184eb5e766
!8182 Fix the crash of MarkValue in GC process
Merge pull request !8182 from 陆佳慧/ljh/extrainfomap
2024-07-26 08:12:43 +00:00
l00799755
e5f3d898a4 Fix the crash of MarkValue in GC process
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IADRYE
Description
Put the Map that stores ExtraProfileTypeInfo onto the heap

Signed-off-by: l00799755 <lujiahui4@huawei.com>
Change-Id: Ic2137b87fe888b0f524cb75c6bd827b9e7cfa428
2024-07-26 10:42:50 +08:00
Gymee
8a4d41f8d7 Revert PR 7378
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFAQE
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ib72f377ce7e14be09a6de23da60469538a816a59
2024-07-24 16:49:20 +08:00
openharmony_ci
d5e665ea56
!8226 Check for private symbol invalid key
Merge pull request !8226 from lixiaoyan/private-key
2024-07-23 21:57:45 +00:00
openharmony_ci
45a8bcf6b7
!8205 [JIT]Fix dead lock in access profiletype
Merge pull request !8205 from xiaoweidong/fix_dead_lock
2024-07-23 03:51:49 +00:00
lixiaoyan
e9d0ecb639 Check for private symbol invalid key
Issue: IADQ87

Signed-off-by: lixiaoyan <lixiaoyan70@huawei.com>
Change-Id: I8186d5adc50583ad87ab0dbe00982d420da7c806
2024-07-23 09:43:01 +08:00
xiaoweidong
35df773759 [JIT] Fix dead lock when access profile type
Fix dead lock, GC may happen when new taggedarray in ProfileTypeAccessor, and cause jit dead lock.
only lock set multi ic slot to avoid dead lock

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IADIFM
Change-Id: Icbc63dabcb15a104f548d3ea7b00a0efe05aa92a
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-07-22 19:03:15 +08:00
openharmony_ci
86a8990421
!7961 fix switch ic type issue
Merge pull request !7961 from zoumujia/fixIC
2024-07-17 02:17:19 +00:00
openharmony_ci
b7764aa6e0
!8138 StOwnByIndex IC BugFix & Reimplement
Merge pull request !8138 from YuliCheng/StOwnByIndex-IC
2024-07-17 02:13:36 +00:00
zoumujia
2e9ff2bf61 Fix ic issue
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA8WJL
Description: avoid ic type switch from store handler to prototype
Handler

Signed-off-by: zoumujia <zoumujia0920@163.com>
2024-07-15 22:35:51 +08:00
YuliCheng
9b2fec8281 Re implement stownbyindex ic part, fix bug
Re implement stownbyindex ic part, fix bug

Issue: #IACJG8
Signed-off-by: yulicheng <chengyuli1@huawei.com>
2024-07-13 09:41:44 +08:00
caolili123
3e60280585 Fix bug of inline function
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAC2KZ

Signed-off-by: caolili123 <caolili14@huawei.com>
2024-07-12 08:41:11 +08:00
Like
90658dba8e filter big method when dump
Signed-off-by: Like <zhenglike@huawei.com>
Change-Id: I4d834e0920d4952d24d52cf16f4caacec81849da
2024-07-02 21:03:55 +08:00
yingguofeng@huawei.com
642afe362a Fix(Aot): Application Aot optimization
1.Fix the IC slot conflict in definefunc bytecode: The cache of profileTypeInfo and profile
    define func info for PGO.
    2.The bc of defineclass supports cache of profileTypeInfo
    3.Aot compiler filters the invalid profileType.
    4.Getter/Setter supports force IC.
    5.Optimize profile ld/st/defineclass bytecode.
    6.Resolved the deopt caused by hclass cached.

Issue: #IA70NP
Change-Id: I3f1e9899ff23a1ed70dcb9df30b1c1388837cd69
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2024-06-27 19:04:32 +08:00
hecunmao
9ed70db133 Bugfix: storeIc do not consider setter is not exist
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA6G8R
Signed-off-by: hecunmao <hecunmao@huawei.com>

Change-Id: Ie34d4ee47e83b861fece98729acf72b789641b2c
2024-06-18 20:28:05 +08:00
duomingliang
06b885cd29 enable jit inline
Change-Id: I03a14dc8f94a24b2346e67e1327953c38e7f8397

fix fastcall deopt

Change-Id: Icad62a5c93835e2d71197eff03b464f7ed0efd88

bugfix of litecg

Change-Id: I0e55efd2bb44e13387a48ad5ca6e6f25bb08e53f

close inlining when running apps

Change-Id: I1d5e063bc1018090dde0af6095a8a2469c5affe6

codecheck & compile error fix

Change-Id: I3f3442c3812d515bc1fa89bc1208ec2acbed6817

bugfix

Change-Id: Iddf6fc5cc2cba8b856447896b982aabd175e27d0

comment fix

Change-Id: I7be64154e2e7b98550f40522a9caa6b99a31a7e1
2024-06-07 19:18:25 +08:00
chentianyu
6e01d884ae Optimize iterate local-to-share in SharedGC::Remark
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I153e6f4161b794bbf7e649e5241bd1c41bafe963
2024-06-05 15:11:55 +08:00
zhaishimin
827e331db7 [JIT] reuse machine code and profile type info
Change-Id: Iee9ab6691c53b7beb3aaefe871b85a9a650f3911
2024-05-31 17:58:59 +08:00
c00451847
be8ce31d16 fix onHeapBit & SOutOfBoundsBit conflict in store handler
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9SIA5
Signed-off-by: c00451847 <chenkai71@huawei.com>
Change-Id: I9fa6c11e67f29189babba1aa9521334fa847e575
2024-05-28 10:26:11 +08:00
openharmony_ci
cd4448e45b
!7479 五大项整改::HeapSnapshot::GenerateNode();Elements::MigrateArrayWithKind();StoreICRuntime::StoreMiss();JITProfiler::ConvertICByNameWithHandler()
Merge pull request !7479 from 杨云飞/master
2024-05-25 15:53:14 +00:00
c00451847
73b688a52d avoid deopt when array store index is out of bounds
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9PFML
Signed-off-by: c00451847 <chenkai71@huawei.com>
Change-Id: Ic297d2b3d673121654e1a1f64eb508522745a0e4
2024-05-25 16:53:18 +08:00
杨云飞
0c80f8f1a4 五大项整改:HeapSnapshot::GenerateNode();Elements::MigrateArrayWithKind();StoreICRuntime::StoreMiss();JITProfiler::ConvertICByNameWithHandler()
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-05-22 11:11:31 +08:00