zhuangkudecha
42d1825784
Revert "Add Option Enable Force IC"
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB0W5N
Description: Revert add options for force IC
Test: All stable and performance tesets
This reverts commit 68de2d91d0
.
Change-Id: Ib1c4d79f27f00cd585c7a451677bcd861355d8f2
Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
2024-10-30 17:40:28 +08:00
openharmony_ci
eb27ce28ed
!9902 dfx: re-organize aot info log
...
Merge pull request !9902 from Lasting/dfx/aot-log-info
2024-10-28 11:25:00 +00:00
openharmony_ci
d160ef0d41
!9986 Fixed jit taskpool destory before inited
...
Merge pull request !9986 from xiaoweidong/fix_jit_bug
2024-10-26 12:31:36 +00:00
xiaoweidong
b226cfc5cd
[JIT] switch native when clear jit task
...
1. switch native when clear jit task
2. wait jittaskpool init before destory
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAN88Y
Change-Id: I6ca0cb537e3628c7f06099c8477a241f9f8be700
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-10-26 09:20:02 +08:00
Like
f43a2687a1
dfx: re-organize aot log info
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYY9Z?from=project-issue
Signed-off-by: Like <zhenglike@huawei.com>
Change-Id: Iadd301d7c8446305609bb956daf379cfccb81ff0
2024-10-22 16:14:47 +08:00
chentianyu
4f9ecf4c31
Revert "pthread_mutex_t adapt to ffrt"
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYFNV
Change-Id: I29190a098555df04c8213973e5dabf5cc72a9327
Signed-off-by: chentianyu <chentianyu31@huawei.com>
2024-10-21 09:30:10 +08:00
chentianyu
e4854aff4b
pthread_mutex_t adapt to ffrt
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAXPBI
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: Ie8013177be37b672b32db0f074a5cd9ab06db410
2024-10-17 14:56:06 +08:00
openharmony_ci
3fd11f3d9f
!9697 Set max suspendall retries
...
Merge pull request !9697 from XinweiCai/set_max_suspendall_retries
2024-10-12 17:31:57 +00:00
xwcai98
a69956dccb
Set max suspendall retries
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAWCV6
Signed-off-by: xwcai98 <caixinwei5@huawei.com>
Change-Id: I2408c1aad637e967744fc5e6c2bafb74a222886b
2024-10-12 10:42:57 +08:00
lijiamin2019
72dea5a800
Move shared nativepointer from JSThread to runtime
...
1.Move shared nativepointer from JSThread to runtime
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAT3ZX
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I1b3176c973585fc404c8f4c6c1b1c6e0efa39b59
2024-10-09 14:20:34 +08:00
zhuangkudecha
68de2d91d0
Add Option Enable Force IC
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAPV03
Decription: Add Option for enable force ic
Test: All stable and performance teset suite
Change-Id: I7f4f6a99f1e4198a2f5426ad221e4d1bb5ce7d7c
Signed-off-by: zhuangkudecha <fuhao71@huawei.com>
2024-09-18 15:07:19 +08:00
dingwen
f2d6c0681f
Use chunk to store serialize shared obj instead of std::vector
...
Description:Use chunk to store serialize shared obj instead of std::vector
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAPLLX?from=project-issue
Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Ic27a91d61d6d66254932e188ca0eda5fd7531434
2024-09-08 21:27:07 +08:00
hecunmao
100d8dab18
fix UT failed in rk3568
...
fix EcmaVm_001_Test,EcmaVm_002_Test,Ecma_Vm_013_Test fail in rk3568
Issue: https://gitee.com/open_harmony/dashboard?issue_id=IAMF1L
Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I3d679236d442bfeb3cba463d119b59608b061a8c
2024-09-02 14:09:14 +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
zhuruigan
1ac01fcd8d
Fix codecheck error
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHN55
Signed-off-by: zhuruigan <zhuruigan@huawei.com>
Change-id: i74f7d9dd97827240dc1b23d0f9bbb466e3109ba6
2024-08-03 20:38:23 +08:00
xiongluo
c79e8e3283
shared full gc
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAAM12
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I5785021320e5dcc164671c79bdc26975abedc68b
2024-07-29 16:55:23 +08:00
chenlincl3
e40928bb07
Op resolvedmodules
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IACNUX
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-id: icbb0da7263a7c92eda28944cea2c45fc62e2e9ab
2024-07-16 16:21:22 +08:00
yaochaonan
7cd30047b6
Fix remove module to sharedModule wrongly delete native vector
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IACS0I?from=project-issue
Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I832b64e6d8641c437c905df166d21a60e2d40788
2024-07-13 21:16:47 +08:00
openharmony_ci
4433bc7d08
!7954 [JIT] Fix clear jit task when vm exit
...
Merge pull request !7954 from xiaoweidong/fix_exit
2024-06-27 09:55:46 +00:00
xiaoweidong
99dbecd9be
[JIT] Fix clear jit task when vm exit
...
Change-Id: Ia070f6d4c3a3ff486e2788215eab4d46ae1223c8
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-06-26 23:32:30 +08:00
Gymee
f11c869c34
Add serializeLock when IterateSerializeRoot
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA7LPU
Change-Id: I32eaacea6990419dc78f691c0b1bce39299a8320
Signed-off-by: Gymee <yumeijie@huawei.com>
2024-06-24 09:19:48 +08:00
xiongluo
f88552ff52
adjust qos priority for partial gc
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9V0YF
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I4285021ebc9ff8b38dfb8d5c07cd83fa2dc0e416
2024-06-04 22:02:13 +08:00
shilei
f56625350b
support string cache for arkui
...
Signed-off-by: shilei <shilei91@huawei.com>
Change-Id: I8e01db23aa26ba62a100908ee87a9f06fe4a96f2
2024-05-28 07:21:48 +00:00
chentianyu
c0973fce63
Support SharedGC ConcurentMark
...
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I476a1b4e349b53c960048890a776eaad7681bd03
2024-05-16 18:29:49 +08:00
lukai
3695045609
JSNapi_004_test UTBugfix
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9OE4U?from=project-issue
Wait running task finished before runtime destroying
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: If3c6c78c57eab1ff4607b21dd1a53e024691d91f
2024-05-11 11:08:24 +08:00
wuzhefeng
a6c0d7989b
Introducing barrier to improve suspend-all performance
...
To improve the performance of suspend-all framework, the logic of suspend-all should be refactored.
Introduce barrier mechanism to synchronize the mutator threads when suspending-gc instead of via read-write-lock.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9IRJZ
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I09d374c1276a8d39888739179ebd908c984812d0
2024-04-27 18:50: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
b27afd924d
[JIT] support concurrent compile
...
Change-Id: I3d1db40eb479434875a9952c0f5f9279ff67cdaa
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-04-15 14:04:05 +08:00
wengchangcheng
7900d0d84b
fix constpool bug
...
1. fix multi-time or multi-vm define sendable class error
2. update constpool when constpool generated by other vm
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9EAXD
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I8af5072d586ede153f96389eceabd09e0bbd3455
2024-04-09 22:32:13 +08:00
openharmony_ci
024e742dc7
!6749 Double SuspendAllScope enter may lead to perf degradation
...
Merge pull request !6749 from Aleksandr Emelenko/fix-double-suspendall-scopes-enter
2024-04-08 06:30:21 +00:00
Aleksandr Emelenko
a501d4dd52
[Suspend/Resume] Fix a perf issue during entering SuspendAllScope in two threads.
...
Now the thread under the SuspendAllScope doesn't have any suspend request.
Issue: #I9DCIT
Signed-off-by: Aleksandr Emelenko <emelenko.aleksandr@huawei.com>
Change-Id: I35571b4626ee0a97502b59d62841b4dc3df0ddf6
2024-04-08 09:23:36 +08:00
DaiHN
03892a9864
Support shared module
...
issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I9BIE5
Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7cecbb668131d2279966749be68a02a6127f7ac9
2024-04-07 20:04:00 +08:00
wengchangcheng
2796df64f5
modify share constpool
...
1. rename to globalSharedConstpool
2. fix crash
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9E2KZ
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I61fe3708cbd230a5722cb1a3851a4a7d1c8a56e9
2024-04-04 01:31:56 +08:00
wengchangcheng
b8b1775b12
share constpool between vm
...
1. move shared constpool to Runtime
2. delete vm in JsPandaFileManager
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9DFIY
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I11cbbeefa72981f07f5513e81ec054acdd4fc9a5
2024-04-03 19:08:44 +08:00
xiongluo
a9b1a26778
invoke shared gc in destroying worker vm
...
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I7a8e10456bb8c5e8a43bd19768b270177b210f33
2024-04-03 01:27:46 +08:00
xiaoweidong
94791abd90
[JIT] Add jit option in napi for app enable test
...
1. now just add option for app, not enable default
Change-Id: I70d9edca6086b95528b20efd47ce914d7b766fd1
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-03-21 21:44:07 +08:00
liu-zelin
8c1d4935a5
Fix CodeCheck
...
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: Ic60aabc5a3cc92d805c23e35869df78375c8d159
2024-03-17 15:56:17 +08:00
lukai
1c0fce73b5
Support shared heap verification
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I92WL5?from=project-issue
1. In local gc, verify each localToShare reference is recorded in
localToShareRSet.
2. In shared gc, iterate shared heap to verify each object liveness and
verify if shared object references a local object.
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I295a513283b5a06a00b534214f431fcbb4a0c9e3
2024-03-06 17:27:55 +08:00
dingwen
5b9ef75fed
Serialize adapt shared heap
...
Description:Serialize adapt shared heap
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I94V01?from=project-issue
Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Ie0e00fbb7dd854fb8e5f7d2b93d4ffebe1af53a8
2024-03-04 17:24:27 +08:00
Aleksandr Emelenko
5a48b9b5e7
[Suspend/Resume] Added mutator scopes and native scopes in the corresponding methods of the VM.
...
Changed JS thread state just after creation (now it is in NATIVE state before execution of the bytecode)
Issue:#I91O3N
Change-Id: I410c5c4a47a05e6e3b79cc41374431d1e9188503
Signed-off-by: Emelenko Aleksandr 00537379 <emelenko.aleksandr@huawei.com>
2024-02-27 20:32:15 +08:00
lukai
47bd000fb6
UT bugfix.
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I93UGW?from=project-issue
Fix UT bugs.
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I34e402743f41bb2ab9f209685cbf3d938fd821e7
2024-02-27 15:04:48 +08:00
lukai
2c83f10480
Support multi-thread test for shared heap
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I93UGW?from=project-issue
Fix some bugs and Support multi-thread test for shared heap
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I64200f5e6d8b1b863cc63ac7068d10efa7260f88
2024-02-26 20:25:33 +08:00
DaiHN
f09abc4fa1
Support importing obj in Sendable Class
...
issure : https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I91CQ6
Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I16cda3c6d3fa2571d2be2f951c604297cac851aa
2024-02-20 19:47:50 +08:00
lukai
a72dd481f6
Support Share GC Part2:
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I91D19?from=project-issue
1. implement share gc marker, sweeper
2. adapt local gc to skip object in shared heap
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Id73c9d2c52b11adfef36fff032c926aa5ed3f7cc
2024-02-08 09:47:41 +08:00
hzzhouzebin
a1308124c3
Move EcmaString & StringTable on Shared Heap
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8YVTQ
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I04d16d68f38be1679f206a782ef76b9d34142589
2024-02-07 23:13:44 +08:00
Gymee
cb8e0864b2
Support globalconsts shared amongst vm
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8ZQ6R
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I377b98dc0c9c8b62a66c9c92ebe9ee84ea509656
2024-02-02 11:56:51 +08:00
Emelenko Aleksandr 00537379
73b9536219
Desciption
...
Add SuspendAll/ResumeAll functionality for registered JSThreads.
Add mutator lock support.
Issue: #I9014H
Change-Id: I6eb8944db9d2aaf9b36b7f80d3d2d5b753a8345b
Signed-off-by: Emelenko Aleksandr 00537379 <emelenko.aleksandr@huawei.com>
2024-01-30 21:49:51 +08:00
Aleksandr Emelenko
60243ca7d7
SuspendAll/ResumeAll threads implementation
...
Desciption
Add SuspendAll/ResumeAll functionality for registered JSThreads.
Add mutator lock support.
Issue: #I8Y4GN
Change-Id: Icc978ff0069fc115175511dbded1e7018abce29a
Signed-off-by: Aleksandr Emelenko <emelenko.aleksandr@huawei.com>
2024-01-27 22:44:57 +08:00
Gymee
9acae5d8ff
Add empty runtime
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8YZ9I
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Id3afc1550e8d9d8ebe62d379ed5aaac533b0a3a7
2024-01-26 09:25:51 +08:00