Commit Graph

562 Commits

Author SHA1 Message Date
wupengyong
d732a736fb Reason:optimize CopyArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXXBN?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I41d4a322cec55051d06f33f7fb821e4a5a2d8a1f
2024-10-21 16:53:37 +08:00
openharmony_ci
f34f47ca3d
!9605 Extend GC builtins
Merge pull request !9605 from rjgask/extend-start-wait-gc-builtins
2024-10-12 08:39:55 +00:00
zhouwenxuan
f2588776b5 修复object_factory.cpp和heap-inl.h文件中存在未判断指针有效性问题
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAW7GD

Signed-off-by: zhouwenxuan <zhouwenxuan1@huawei.com>
Change-Id: I3e464578990a00f5e9b4d191cdc0b9b8745b1835
2024-10-11 10:21:48 +08:00
rjgask
f570c76a09 Implement start/wait GC builtins
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAUWWO

Signed-off-by: rjgask <bor.rjgask@huawei.com>
Change-Id: I3eda3a0e0f9600b2a1e2e81cf402ad3957027aae
2024-10-09 22:31:28 +08:00
zhouguangyuan
4df9a1100c avoid string construct when get method name
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IATZ4H
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: Ia03b70210aba3c17f6c008439bd2ef400f43ac51
2024-09-30 11:49:32 +08:00
wupengyong
11d8008769 Reason: revert "Reason:add log for new Date"
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAUBUF?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Icc6417e6bb470737f96ecbc02859d64b9e41b2c7
2024-09-28 15:49:30 +08:00
openharmony_ci
68ebc6984a
!9417 [JIT] Fixed string table when create jshandle
Merge pull request !9417 from xiaoweidong/fix_string_table
2024-09-23 03:14:17 +00:00
openharmony_ci
b4b940aa35
!9259 Class literal 内存优化
Merge pull request !9259 from yingguofeng/master_class_literal
2024-09-23 03:01:47 +00:00
xiaoweidong
fd76697a21 [JIT] Fixed string table create jshandle
Add new interface which no jshandle for jit thread

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IASDSD
Change-Id: I66ff4c7fd5f08cb3a971f6ab56fbda8174414011
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-09-20 18:52:29 +08:00
wupengyong
4ebaf54bf3 Reason:add log for new Date
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IASAET?from=project-issue
Test: Build & Boot devices

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I50751c1bf0b10bc9c106c99b9d2add8df40a30fe
2024-09-20 12:24:06 +08:00
yingguofeng@huawei.com
08fd62a8fb Perf(memory): Optimize memory for define class
Issue: #IAPMR7
Change-Id: Ie128d64a1454129ec322a9ec38a8b28a6bdf46b8
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2024-09-20 11:24:57 +08:00
zhouguangyuan
3ab94479f2 support batch barrier for copy TaggedArray
When copy TaggedArray, using batch barrier will be faster than SetObject one by one.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAP8X6
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>

Change-Id: I68495db00c07480d2ec3de514f560d28768ce55e
2024-09-18 17:56:44 +08:00
tangbin
4b0259c9f1 修改bitVector xts 压力测试崩溃的问题
Signed-off-by: tangbin <2387440390@qq.com>
2024-09-15 15:56:38 +08:00
openharmony_ci
15ceaeaaac
!7793 optimize default ctor for derivative class
Merge pull request !7793 from qiuyu/forward
2024-08-29 15:51:41 +00:00
openharmony_ci
3614686182
!8695 优化frame iteration
Merge pull request !8695 from xing-yunhao/stackmap_opt_v1
2024-08-26 22:42:13 +00:00
xing-yunhao
3eaf375b72 Optimize frame iteration
1. In ArkStackMapParser::IteratorStackMap, it will traverse stackmap twice, once for storing info and another for handling info
   Now, it traverse only one time.
2. Storing fp delta in 'method.extraLiteralInfo' and skip finding FuncEntryDes in AOTFileInfo::CalCallSiteInfo which will accelerate FrameIterator::Advance
3. Skip storing callee register info if CalCallSiteInfo is not called when handling deopt
4. Add an aottest case to test branches of Advance with different GCVisitedFlag and frame type

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAJX4B?from=project-issue

Signed-off-by: xing-yunhao <xingyunhao1@huawei.com>
Change-Id: I3f2c8e8f49fb46218496d131ca253cc845d11746
2024-08-26 10:54:15 +08:00
qiuyu
f86405e0ca Optimize default ctor for derivative class
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IA8WK8

1. adapt interpreter for the new isa callruntime.SuperCallForwardAllArgs
2. adapt asm-interpreter for callruntime.SuperCallForwardAllArgs
3. adapt jit/aot for callruntime.SuperCallForwardAllArgs
4. adapt baseline jit for callruntime.SuperCallForwardAllArgs
5. remove the constraint for functions with zero icSlotSize so that
the default ctor for derivative class can be compiled into native code.

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I346da77403de0d14f53532bc51c40a3ca27fc689
2024-08-25 18:07:36 +08:00
openharmony_ci
0e0466e408
!8624 Remove JSNativePointer in InternalAccessor
Merge pull request !8624 from Gymee/remove_overused_jsnativepointer_part1
2024-08-24 03:57:12 +00:00
openharmony_ci
d89dfcbe62
!8726 Adjust native size trigger gc strategy
Merge pull request !8726 from dingwen/stragery_br
2024-08-24 03:51:38 +00:00
Gymee
25d4d5d9ef Remove JSNativePointer in InternalAccessor
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAJ4G8
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I85d4677b4aa7041c63ec0bb1592a6e6c2abb3785
2024-08-21 18:10:09 +08:00
dingwen
0d7dec6112 Adjust native size trigger gc strategy
Description:Adjust native size trigger gc strategy
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAKDJ7?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I297b251c0b32a512e0051c1be2bbd929318fe159
2024-08-18 10:47:47 +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
fangting
902e4ff2c0 optimize compiler
optimize compiler

Issue:#IAJ541
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-13 10:17:04 +08:00
openharmony_ci
08aa4b6d67
!8086 Remove compile time enabling and add runtime enabling of JitFort memory space.
Merge pull request !8086 from eching/fort-runtimeswitch
2024-07-26 17:49:39 +00: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
eching
2a9017a3c8 Remove JitFort space compile time enable macro
Remove compile time macro and add runtime option

Issue: IABSW3

Signed-off-by: eching <edward.k.ching@gmail.com>
2024-07-26 15:36:27 +08:00
openharmony_ci
635b303d0f
!8183 Add typed Float32Array Construct IR path
Merge pull request !8183 from KasonChan/ck_float32array_ir
2024-07-26 02:45:29 +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
c00451847
6ffea0384a Add typed Float32Array Construct IR path
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAD55D

Signed-off-by: c00451847 <chenkai71@huawei.com>
Change-Id: I5a5b3d47cafe551c42bffb3999e2186b89b5a3c5
2024-07-25 18:37:00 +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
chenlincl3
a1e281d7fb Optimize source_text_module field to cstirng
Issue:  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IADOXR
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
2024-07-20 20:30:13 +08:00
openharmony_ci
76885a3c54
!8139 Fix the bug of Reflect.construct
Merge pull request !8139 from lijiamin/master
2024-07-17 11:15:21 +00:00
lijiamin2019
c31ad735b5 Fix the bug of Reflect.construct
1.Fix the bug of Reflect.construct
2.Fix the bug of defing private property

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

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ib6216fcf390ca7294aaa7c63b622b64ef913897d
2024-07-16 09:31:33 +08:00
openharmony_ci
0322ffb38b
!8061 三方JS Workload劣化
Merge pull request !8061 from yingguofeng/bugfix
2024-07-13 05:51:24 +00:00
openharmony_ci
703631f251
!8151 Fix LazyImportArray initialize value
Merge pull request !8151 from yaochaonan/lazy
2024-07-13 05:46:13 +00:00
yaochaonan
c9e8a199b2 Delete new bool
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IABWM6?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: If721c25fbd240ec0fa002008ace64a20b50603a1
2024-07-12 23:45:11 +08:00
yingguofeng@huawei.com
fb614f8fd2 (Aot): Fix third-part js workload degradation
1、Fix overflow when searching hclass from object literal hclass cache.
    2、Fix missing barrier for object reference global env object in deserializer.
    3、Fix hclass transition error with representation attribute.

Issue: #IAB8P5
Change-Id: Ia9fffb981995676b0ed74530eadaab610be29b2f
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2024-07-11 17:27:41 +08:00
rentangyu
5560a3ab9e The aa startup mode is added
If the .so file fails to be loaded, the detailed error information is displayed

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

Signed-off-by: rentangyu <rentangyu@huawei.com>
2024-07-11 16:27:31 +08:00
openharmony_ci
1939dc2e35
!6739 Add compiledcode and fastcall flag in JSFunctionBase
Merge pull request !6739 from xiaoweidong/machinecode_flag
2024-07-09 20:10:04 +00:00
yaochaonan
28325725ac Support Lazy Import
Issue: https://e.gitee.com/open_harmony/dashboard?issue=IAARFN

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I8ccd39ba22d71827eb93699d560165beb9d12ba9
2024-07-10 00:41:17 +08:00
xiaoweidong
395bc2a0a9 Add compiledcode and fastcall flag in JSFunction
1. Judge aot and fastCall with jsfunction flag
2. Add aot/fast flag in JSFunction

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9D1U1
Change-Id: Ibe6be511c16f856cb5210ef7448d24e045c2156a
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-07-09 12:16:49 +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
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
openharmony_ci
7364f933d8
!7500 An exception was generated when throwing an exception. Procedure
Merge pull request !7500 from 贺存茂/ExceptionGenerationWhereThrow
2024-06-05 01:26:58 +00:00
zhangyukun8
3ce238478b Fix GetMethodLiteral in jit mode
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9UVFK?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ibe69dee8872a46da10106ac06e436aaa869a02a8
2024-06-04 17:29:57 +08:00
hecunmao
61b5c2f5fb An exception was generated when throwing an exception. Procedure
issue:https://gitee.com/open_harmony/dashboard?issue_id=I9RPS3
Signed-off-by: hecunmao <hecunmao@huawei.com>

Change-Id: I34067353d54e2a670bf96fa0f4897b100505dbbf
2024-06-03 22:19:49 +08:00
openharmony_ci
a77699f040
!7607 [JIT] reuse machine code and profile type info
Merge pull request !7607 from haizaibali/jit_reuse_profile
2024-06-03 04:00:58 +00:00
openharmony_ci
dd04845f18
!7620 Fix Nonmovable space allocate fail under sensitive status
Merge pull request !7620 from dingwen/kuaishou_br
2024-06-02 03:01:20 +00:00
dingwen
67e3f97bc4 Fix Nonmovable space allocate fail under sensitive status
Description:Fix Nonmovable space allocate fail under sensitive status
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9TFB3?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Iacbabed496b6c52488b6f28217a206954bc436ca
2024-06-01 22:12:49 +08:00