Commit Graph

30 Commits

Author SHA1 Message Date
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
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
wengchangcheng
6af814ef16 Descriptor: store Method in Constantpool
Details: store Method in Constantpool

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Iab861203559c8094a1dd23f519a47508523f6426
2022-08-31 22:13:23 +08:00
sunzhe23
5042a9408f add new instruction for asminterpreter
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-08-30 21:43:46 +08:00
wengchangcheng
a91655dd03 Descriptor: Support new version bytecode
Details: Adapter new instruction for c-interpreter

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Iddd93beef786f9453474329e424941a14ad64f9d
2022-08-29 15:56:26 +08:00
g00416891
e7e344e150 Modify JSMethod to Method
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I2f18e1cd8c163a2839bbf2b3da4e40d385f5094a
2022-08-23 15:23:06 +08:00