Commit Graph

54 Commits

Author SHA1 Message Date
openharmony_ci
a7297e78f2
!9499 Fix TSAN Warning in Multi-thread Cases
Merge pull request !9499 from 张博虓/bugfix_nativesizestats
2024-10-06 19:36:24 +00: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
zbx
e5a5840dce Fix TSAN Warning
Avoid data hazard in multi-thread cases

Issue: IAT435

Signed-off-by: zbx <zhangboxiao1@huawei.com>
Change-Id: I22b0bda189508fc9e76f7cd2c2658622e2a7bd63
2024-09-25 17:08:46 +08:00
openharmony_ci
a6bd7196d9
!8992 Add log for MaTchFieldType and Fix review comments
Merge pull request !8992 from lijiamin/debug
2024-09-04 05:04:34 +00:00
lijiamin2019
da1d7055f0 Add log for MaTchFieldType and Fix review comments
1.Add log for MaTchFieldType
2.Fix review comments

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

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ibb7691d5f055670b3d87f995789838a31dbf9b66
2024-08-31 17:53:44 +08:00
openharmony_ci
1ad7fa4908
!8728 修复调试应用卡住
Merge pull request !8728 from 杨阳/fix_ka
2024-08-28 07:02:49 +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
yang-19970325
8f89a721ce Fix debugger stuck
Issue:            #IAKDO8
Signed-off-by: yang-19970325 <yangyang585@huawei.com>
2024-08-26 19:38:41 +08: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
lijiamin2019
fe4f2f83b1 Set IsSharedBit for the method of sendable class
1.set IsSharedBit for the method of sendable class

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

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I978d6f480cb0cb76c22954e2ca43d2a2c85d92bd
2024-08-23 11:27:16 +08:00
lichenshuai
62712ea96f Fix IC Slot
修复16位 IC Slot 溢出的情景

Issue: #IA8ONB (ets_frontend)

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ifb93f571fe22c4056c1fa3993da61d502862b7f5
2024-08-17 14:15:50 +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
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
lijiamin2019
4c8bf4d7bf Support sendable function
1.get functionKind and set method IsSharedBit
2.define sendable function.

Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IA947R

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ia970e06569c37a98bccab696fbb9b2f9c1de51de
2024-07-07 16:50:46 +08: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
linxin
7bd5833c07 bugfix for osr
Signed-off-by: linxin <linxinyq@foxmail.com>
Change-Id: Ibf930e060d802448fa1e5742de328c46b47ba80f
2024-06-03 09:03:35 +08:00
zhangyukun8
c13d4d9482 Fix ilegal code entry when define func with a deopt method
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9U57E?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Id20f234234b28e1ff73f44f0f746e6104fde9a10
2024-06-01 10:33:53 +08:00
w00443755
e68673a13f enable baseline compiler
add baseline builtins

Change-Id: Ib8d7c392c62e21eab19b17e45c0fafb499cbbed9

support running baseline compiler by option --compiler-force-baseline-compile-main=true

Change-Id: I7c7337faf9fad39ccffb2de28d46403e2f6cb22b

baseline jit part3

Change-Id: I36e8dd6a6fa6fffb738029a8620bbcd01df1e017

baseline part4

Change-Id: Ib45bcf7255a85aa48f864a6021adf819927e6a13

baseline part5 move baseline into compiler folder

Change-Id: Ia8781c95ae00c4f300e7267a6da0078b5d04e4c8

!185 support BaselinePrologue
* support BaselinePrologue part3
* support BaselinePrologue part2
* support BaselinePrologue

!187 [BaselineJit] support load baseline builtins
* [BaselineJit]support load baseline builtins

!186[BaselineJIT] workaround for baselinejit support install code
* install code part3
* install code part2
* baseline jit support intall code

!188 [BaselineJit] support CallBuiltin
* [BaselineJit] baseline support  CallBuiltin

!189 [BaselineJIT]implement StackOffset class
* [BaselineJIT]implement StackOffset class

!190 [BaselineJIT]refactor BaselineAssembler and MacroAssembler
* [BaselineJIT]refactor BaselineAssembler and MacroAssembler

!191 [BaselineJIT] refactor class BaselineCompiler
* [BaselineJIT] refactor class BaselineCompiler

!192 [BaselineJIT] callbuiltin support new parameter type
new parameter type: int32_t,SpecialParameter,VirtualRegister

!193 [BaselineJIT]modify BaselineLoadObjByName function
* [BaselineJIT]modify BaselineLoadObjByName function

!194 [BaselineJIT] support new builtins
* [BaselineJIT] add  BaselineTryLdGLobalByNameImm8ID16,  BaselineStToGlobalRecordImm16ID16, BaselineLdaStrID16

!196 [BaselineJIT]bugfix for BaselinePrologue, align the rsp
* [BaselineJIT]bugfix for BaselinePrologue, align the rsp

!197 [BaselineJIT]bugfix for StackOffsetDescriptor
* [BaselineJIT]bugfix for StackOffsetDescriptor

!198 [BaselineJIT]workaround for helloworld testcase, helloworld can run successfully
* workaround for helloworld testcase, helloworld can run successfully

!200 [BaselineJIT]adapt profile collection
* [BaselineJIT]adapt profile collection

!201 [BaselineJIT]refactor baseline jit
* [BaselineJIT]refactor baseline jit

!203 [BaselineJIT]support trigger BaselineJITCompile and call baselinecode async
* [BaselineJIT]support trigger BaselineJITCompile and call baselinecode async

!202 [BaselineJIT]enable update hotness
* [BaselineJIT]enable update hotness

!205 [BaselineJIT]adapt JSCallDispatch interface
* [BaselineJIT]adapt JSCallDispatch interface

Change-Id: I4efce4346f985c7e074d7fc4bbfe3b081272e950

!195 [Baseline JIT] bytecode to builtin funs
* !206 enable bytecode builtins and call CHECK_PENDING_EXCEPTION
* [Baseline JIT] builtins:StobjbynameImm9Id16V8,StobjbynameImm16Id16V8,S…
* [Baseline JIT] builtins:CopyrestargsImm8,LdlexvarImm4Imm4,StlexvarImm4…
* [Baseline JIT] builtins: LdsuperbyvalueImm8V8,LdsuperbyvalueImm16V8,St…
* [Baseline JIT] builtins: DelobjpropV8,AsyncfunctionawaituncaughtV8,Cop…
* !204 enable bytecode builtins
* [Baseline JIT] builtins: DefineclasswithbufferImm8Id16Id16Imm16V8,Defi…
*  [Baseline JIT] builtins: LdthisbynameImm8Id16,Definegettersetterbyval…
* [Baseline JIT] builtins: Callarg0Imm8,SupercallspreadImm8V8,ApplyImm8V…
* !199 enable bytecode builtin func
* [Baseline JIT] builtins: StrictnoteqImm8V8,StricteqImm8V8,Istrue,Isfal…
* [Baseline JIT] builtins: NegImm8,NotImm8,IncImm8,DecImm8,IsinImm8V8,In…
* [Baseline JIT] builtins: And2Imm8V8,Or2Imm8V8,Xor2Imm8V8,ExpImm8V8,Typ…
* [Baseline JIT] builtins:LessImm8V8,LesseqImm8V8,GreaterImm8V8,Greatere…
* [Baseline JIT] builtins:Add2Imm8V8,SUB2_IMM8_V8,MUL2_IMM8_V8,DIV2_IMM8…
* [Baseline JIT] builtins:CreateobjectwithbufferImm8Id16,Createobjectwit…
* [Baseline JIT]builtins:Createemptyobject,CreateemptyarrayImm8,Createem…
* [Baseline JIT] builtins:GetiteratorImm16,Asyncfunctionenter,Createasyn…
* [Baseline JIT] builtins:ldsymbol,ldglobal,Poplexenv,Getunmappedargs,Ge…
* [BaselineJIT] builtins: add base class

!209 handle opcode in baseline compiler
* handle opcode in baseline compiler

!210 [baseline jit]: add baseline stub call signature target kind info
* [baseline jit]: add baseline stub call signature target kind info

!212 [BaselineJIT]baseline builtin bugfix
* [BaselineJIT]baseline builtin bugfix

!207 [BaselineJIT]support BaselineBuiltinFrame
* [BaselineJIT]support BaselineBuiltinFrame

!214 [BaselineJIT]baseline builtin bugfix of using JSCallDispatch
* [BaselineJIT]baseline builtin bugfix JSCallDispatch

Change-Id: Id67b991df5dee753a38c284234d15b02f0d8a091

!215 [BaselineJIT]bugfix for StackOffsetDescriptor
* [BaselineJIT]bugfix for StackOffsetDescriptor

!216 [baseline jit]update bytecode builtins
* [baseline jit]update bytecode builtins

!213 [BaselineJIT]support BaselineReturn and BaselineReturnundefined
* [BaselineJIT]support BaselineReturn and BaselineReturnundefined

!218 [BaselineJIT]baseline builtin
* [BaselineJIT]baseline builtin:ldfunction,ldthis,asyncgeneratorresolvev…

!217 parse baseline-jit bytecode v1.0
* parse bytecode in baseline-jit

!220 [BaselineJIT]baseline refactor ParameterIndex
* [BaselineJIT]baseline refactor ParameterIndex

!223 [BaselineJIT]get function and method from stack, avoiding method is used after call
* [BaselineJIT]get function and method from stack, avoiding method is us…

!224 [BaselineJIT]bugfix for compiling x64.release
* [BaselineJIT]bugfix for compiling x64.release

!226 [BaselineJIT] adapt gc for BASELINE_BUILTIN_FRAME type
* [BaselineJIT]adapt gc for BASELINE_BUILTIN_FRAME type

!222 [BaselineJIT] parse baseline builtin args
* [BaselineJIT] parse baseline builtin args:part 2
* [BaselineJIT] parse baseline builtin args

!229 parse baseline-jit bytecode v2.0
* [BaselineJIT] parse bytecode v2.0

!230 [BaselineJIT] remove including undefined_function file
* [BaselineJIT] remove including undefined_function file

!228 handle byte opcode of jmp v2
* [baseline jit]handle opcode of jmp V2

[BaselineJIT]rebase bugfix

Change-Id: I078298849139317dfa89fb139979c1b7d938b344

!231 [BaselineJIT] fix bugs about reading bytecode
* [BaselineJIT] fix bugs about read bytecode

!232 [BaselineJIT] fix bug about processing arguments in stub
* [BaselineJIT] fix bug about processing argument in baseline-stubs

!233 handle int64_t type in CallBuiltin
* [baseline jit]handle int64_t type in CallBuiltin

!234 [BaselineJIT] fix bug for StToGlobalRecordImm16ID16
* [BaselineJIT] fix bug for StToGlobalRecordImm16ID16

!235 [BaselineJIT] fix bugs about args type
* [BaselineJIT] fix type of args that passing to builtins

!236 [BaselineJIT] do not pass constpool to builtins
* [BaselineJIT] do not passing constpool to builtin

Change-Id: I8c46d70527a3fedd841d28ac1908a02d4a66edeb

!237 [baselineJit]Bugfix for sp used in JSCallDispatch and incorretc type
* [baselineJit]Bugfix for sp used in JSCallDispatch and incorretc type

Change-Id: I3f42ecd06266a20b2b145cfe98bcbd97a2848bab

[BaselineJIT] dump_test bugfix

Change-Id: I97d21960ca98cd1a6fc9b1e81b647ff9d8d5d0c2

[BaselineJIT]codecheck fix

Change-Id: I93eb02e45b70f4a5bfee84fec0c8e2cdc765d348

code check bugfix part2

Change-Id: I8680dd2c098193705709691fa78e8e6f3ad8cd6c

bugfix for review

Change-Id: I49b28e109530b9f8b403ba22ba39948e02834021

[BaselineJIT]change file folder

Change-Id: I1f46110a804f17270badcff7cdeb2058ca164161

[BaselineJIT]bugfix for review part2

Change-Id: I190406652697f9b17ac6c84dd706262046dbb5f7

!238 [BaselineJIT] fix more than 6 args builtins
*  [BaselineJIT] fix more than 6 args builtins

!239 [BaselineJIT] fix bug in parsing CALLTHISRANGE_IMM8_IMM8_V8
* [BaselineJIT] fix bug in parsing CALLTHISRANGE_IMM8_IMM8_V8

!240 [BaselineJIT] fix bug and add NewobjrangeImm8Imm8V8,NewobjrangeImm16Imm8V8
* [BaselineJIT] fix bug and add NewobjrangeImm8Imm8V8,NewobjrangeImm16Imm8V8

!241 [BaselineJIT] fix bug of ldnan, ldinfinity
* [BaselineJIT] fix bug of ldnan, ldinfinity

!242 [BaselineJIT] return JSCallDispatch result
* [BaselineJIT] return result of JSCallDispatch for baselinecode

!245 [BaselineJIT] fix builtins return value
* [BaselineJIT] fix builtins return value

!244 [BaselineJIT] save result to acc
* [BaselineJIT] save result to acc

!243 Bugfix for StlexvarImm4Imm4
* [baselineJit]Bugfix for StlexvarImm4Imm4

!246 [BaselineJIT] remove ldfunction
* [BaselineJIT] remove ldfunction

!248 [BaselineJIT] save result of DEFINECLASSWITHBUFFER_IMM8_ID16_ID16_IMM16_V8
* [BaselineJIT] fix return

!247 [baselineJit]Bugfix for Stlexvar and Ldlexvar
* [baselineJit]Bugfix for Stlexvar and Ldlexvar

!249 [BaselineJIT] Revert "!242[BaselineJIT] return JSCallDispatch result"
* Revert "!242 [BaselineJIT] return JSCallDispatch result"

!251 Bugfix for BaselineCreateobjectwithexcludedkeysImm8V8V8
* [baselineJit]Bugfix for BaselineCreateobjectwithexcludedkeysImm8V8V8

!252 [baselineJit]Bugfix for notException branch
* [baselineJit]Bugfix for notException branch

!250 [BaselineJIT] save result to acc in JSCallDispatch for baselinemethodcode
* [BaselineJIT] save result of JSCallDispatch to acc for baselinecode

!254 [BaselineJIT] fix type bug
* [BaselineJIT] fix type bug

!255 [BaselineJIT] fix bug of LDAI_IMM32
* [BaselineJIT] fix bug of LDAI_IMM32

!253 Bugfix for Poplexenv
* [baselineJit]Bugfix for Poplexenv

!256 [BaselineJIT] fix pc & refractor jscalldispatch for baseline-jit
* [BaselineJIT] fix pc of baseline-jit & refactor jscalldispatch for baseline-jit

!257 [BaselineJIT] replace indirectly jscalldispatch with jscalldispatchforbaseline
* [BaselineJIT] replace indirectly jscalldispatch with jscalldispatchforbaseline

!258 [BaselineJIT] fix using shl2 builtin bug
* [BaselineJIT] fix using shl2 builtin bug

!259 Bugfix and enable BaselineIstrue and BaselineIsFalse
* [baselineJit]Bugfix and enable BaselineIstrue and BaselineIsFalse

!260 [BaselineJIT]  fix bug about passing FUNC parameter
* [BaselineJIT] fix bug about passing FUNC parameter

!261 [BaselineJIT] support passing parameters by stack and fix offset param bug
* [BaselineJIT] support passing parameters by stack and fix offset param bug

!263 [BaselineJIT] fix parameters bug of LdobjbyvalueImm16V8 & StobjbyvalueImm16V8V8
* [BaselineJIT] fix parameters bug of LdobjbyvalueImm16V8 & StobjbyvalueImm16V8V8

!262 Bugfix for jump offset
* [baselineJit]Bugfix for jump offset

!264 [BaselineJIT] fix intermediates v8 parameters bug
* [BaselineJIT] fix intermediates v8 parameters bug

Change-Id: I8bf4fdf7621770a1976925423de23693570365c9

!267 [BaselineJIT] fix bug of BaselineInstanceofImm8V8
* [BaselineJIT] fix bug of BaselineInstanceofImm8V8

!269 [BaselineJIT] support NEWOBJRANGE_IMM16_IMM8_V8 & fix calling DefineMethod runtimeStub
* [BaselineJIT] support NEWOBJRANGE_IMM16_IMM8_V8 & fix calling DefineMe…

!268 [BaselineJIT]support update hotness
* [BaselineJIT]enable update hotness part2
* [BaselineJIT]support update hotness

Change-Id: I24b02a9e015df7263b1e9d7210377add0bfc558c

CI bugfix

Change-Id: I2d5aef07a1f14b3c64585790cff99d64be0d6396
Signed-off-by: w00443755 <wangzhilei2@huawei.com>
2024-04-21 17:58:55 +08:00
xiaoweidong
d91e0f62de Clear aotflag when new jsfunction if the flag was set for jit
Change-Id: Ibaffcd0ad4cf6300ccffb5adc3cf9d49e518f588
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-03-28 16:25:53 +08:00
wengchangcheng
c1e94f2c5b Merge remote-tracking branch 'openharmony/master' into dev_shareheap
Change-Id: I453d3948421d4327a8d54b5689b1ec21f97f5dce
2024-03-11 22:42:20 +08:00
zhangyukun8
629899bb1f Fix aot flags mismatch when new method by aot methodLiteral in interp
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9711X?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I8431de2f73dd4f7f59f48577214b7d981da0a9e7
2024-03-09 17:23:24 +08:00
lijiamin2019
82b1a38088 Move module from Method to JSFunction
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I8d9572c14310dba0a8496161d49c7ecfd14a74b3
2024-02-23 15:32:01 +08:00
wengchangcheng
0ed9f00a08 Merge remote-tracking branch 'openharmony/master' into dev_shareheap
Change-Id: I73e06e67e44d7bd2492ba0615c2ac62b4979ef36
2024-02-19 00:14:55 +08:00
lijiamin2019
e36eb338cd share method,constpool,classliteral
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ieb0a205bb341f09b6e5304ab66e2ce2e04725bb2
2024-02-07 21:36:41 +08:00
lijiamin2019
b48894eb5a Move CodeEntry from Method to JSFunction
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: Ie1c3e4054bc985218654d7ce21640bb086bc4a8d
2024-01-30 19:34:48 +08:00
lijiamin2019
ff588ba20a Move MachineCode and ProfileTypeInfo from Method to JSFunction
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I90fd102f058d161055dd61cd92d7abed3e248d4b
2024-01-26 11:12:36 +08:00
lukai
3e3909b8c9 Implement some shared Allocation interface in objectFactory
1. Implement some shared Allocation, such as newSEmcaHClass,
   newSFunction.
2. Adapt intialization of object to shared space.

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I84cf67d020f8797c44d83957cf95b3e4b504051a
2024-01-25 21:56:33 +08:00
xiaoweidong
0f4dd9fa1b [JIT] export libark_jsruntime.so symbols for libark_jsoptimizer.so
ISSUE:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8UZN0

Change-Id: If5e76b9da12114f6b8717824427af4a6ceedea5c
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-01-25 12:24:36 +08:00
gwl
6ea0679211 enable jit compiler
Signed-off-by: gwl <guowanlong@huawei.com>
Change-Id: Idbbcf67ff47b7897ae59a55015fba09a35faefdf
Signed-off-by: gwl <guowanlong@huawei.com>
2023-12-09 09:18:29 +08:00
lijiamin2019
78a1abc663 Move module from Function to Method
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I440bb8dad9b46dd6582750a3665bcc0c586fd1e0
2023-09-20 16:49:17 +08:00
wanghuan2022
1a115a3de1 [Bug]: TakeHeapSnapShot数组相关性能优化二
desc: TakeHeapSnapShot数组相关性能优化二

solu:
对于array里的elements元素,其下标不以字符串的形式存在stringtable,而是直接存整数。这样可以减少生成文件shapshot的strings一栏的条目数,加快解析速度

issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VFNS

Signed-off-by: wanghuan2022 <wanghuan80@huawei.com>
Change-Id: I098200293249d617ff417b9346e6232bbc946ed1
2023-08-30 11:41:47 +08:00
wupengyong
efc0b12047 Reason:optimize fastcall
Description:optimize fastcall
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I78093?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I1685c6b1341c82161d18e827f5449f90f7b1b634
2023-06-03 18:42:00 +08:00
wupengyong
c0fa165ab0 Reason:add fast call and change calling conversion to cc
Description:add fast call and change calling conversion to cc
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6TTCX?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I7c35619d73a4d961799232bc22b78b6513f65e71
2023-05-18 19:23:25 +08:00
zhangyukun8
12a011287b Fix async function reentergenerator failed when deopt happened
suspendgenerator and resumegenerator should be in pairs both in
AOT and asm-interpreter
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6VMXN?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>

Change-Id: I6b7deca870a484beda3ef2b16eecb962b7ff4afd
2023-04-14 11:34:57 +08:00
g00416891
b4054bf631 Refactor loadedJSPandaFiles for memory leak
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6J2G8?from=project-issue

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ia8b70f4a0d0bdd67c82369c699b5687b949559c2
2023-04-07 14:57:06 +08:00
Rtangyu
402c120d07 Multi-instance simultaneous cup profile sampling failed
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6IFNUt

Signed-off-by: Rtangyu <rentangyu@huawei.com>
2023-03-09 17:40:21 +08:00
g00416891
fb94e4d58e Support cold patch with method replace
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6781P

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I68f1fedaf52ddacc242d99c602c98bd0ae8a8328
2023-02-23 11:12:08 +08:00
wuzhangda
66f8591771 Deopt Dump
Add deopttype to Deoptimizier::Dump and cpu-profiler information.

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

Signed-off-by: wuzhangda <wuzhangda@huawei.com>
Change-Id: Icbc9d8d96c950c3f3603153189048477ee672be1
2023-02-06 17:21:09 +08:00
wengchangcheng
2cdbecaeb9 Descriptor: Encapsulate some interface in PandaFile
Details: Encapsulate GetStringData and use JSPandafile instead of File

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ied940326ea2913337db013e1ab1bf57b6f56162b
2023-01-03 15:16:51 +08:00
g00416891
1073ab9ca0 Refactor GetRecordName and GetMethodName for quick fix
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I1eae7ca74074962036b8f421929c177fe0f6970a
2022-12-16 11:12:30 +08:00
xujie
b6d01825e0 Support skip aot function where too many deopts occur
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I662CB
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Ie7195f725ee4cd4b917e436046e9faafcbf8e84b
2022-12-14 10:21:23 +08:00
g00416891
facdbd970e Move ProfileTypeInfo from JSFunction to Method
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ic791f4577120806f39754aa783f49d1f84dc078e
2022-10-24 14:46:02 +08:00
sunzhe23
5c51bf4087 Refactor build deopt frame state
use dfs order build frame state

issue: I5VVZQ
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-10-17 10:33:41 +08:00
xujie
08f82c11b7 Merge branch 'c_deopt_dev' to master
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VLYL

Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Id0175f318a336ecd0534a5778ebff9b4e480ba3b
2022-10-13 21:46:55 +08:00
lijiamin
b5186ac7a6 Modify method to methodLiteral
Signed-off-by: lijiamin <lijiamin24@huawei.com>
Change-Id: Ibcc190319f8d4089edbb42ace55ce4a3b9f9cba9
2022-10-11 17:11:31 +08:00
sunzhe23
ac567731db add frame state builder and deoptimzer
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-10-03 13:06:25 +08:00
wuzhefeng
c2390da886 Refactor Compilation Logs
The log during aot compilation is chaos and should be refactored,
besides, the information of call targets inside *.ll files should be add
to facilliate debug process.

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

Change-Id: I828016e73fa20c33dc2f783d6ba577dc2ef52d5e

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I053ea8d92f8821d8d6d2ee767c5ca60b1802fcf1
2022-09-30 17:46:08 -07:00
wengchangcheng
f72a872995 Descriptor: fix ut and arm64 compile
details: fix ut and arm64 compile
issue:

Change-Id: I12e12e2b06de2a4a645bb62b4b2f7c40b26f7041
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-09-21 19:50:49 +08:00
g00416891
fa0e9e2a40 Quick fix adapt to merge abc for multiple abc files
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ifc31cd0a01f6ffdecacc5775d24d3c7b1cf23c55
2022-09-17 19:27:59 +08:00
wengchangcheng
ff85273bc9 Descriptor: delete FunctionKind in JSFunction
Details: delete FunctionKind in JSFunction

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Idc21112643211e691d5a0b6ae11831ad4bb7acd6
2022-09-09 00:09:56 +08:00