Commit Graph

28 Commits

Author SHA1 Message Date
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
zhuhan
9f25fd333a qiuck fix
Signed-off-by: zhuhan <zhuhan10@huawei.com>
Change-Id: I35b4ffe6049fcb57f7277b77f07c76bc7ffe10ed
2023-04-04 11:32:52 +08:00
hwx1163501
3ebfd422b4 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6OSGM
2023-03-21 11:27:53 +08:00
weng-xi
f6f65e167c Add the ClassLiteral class
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ITCC
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Iff5e4baaf5d71816b40015565fade48d2cf22fee
2023-03-07 09:34:33 +08:00
g00416891
13abd35e5d Modify LoadPatch interface with base buffer for gc bug
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6IF2K?from=project-issue

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ib356ae7b59c8046c61a6e51dce26a72ea49c52d1
2023-02-28 16:36:32 +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
g00416891
8e845313e5 Optimize LiteralDataExtractor
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6DLG8

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I1ed5fb2d71cee484430952d6a0816e3a780ec6bc
2023-02-08 10:43:02 +08:00
g00416891
27c4db2bcc Support external method for hot patch
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Id8245a6659b52ecddaf59db51cca325b517d385e
2023-02-03 15:29:04 +08:00
DaiHN
1d676b9df7 Throw JS error when find abc failed
--------
1. Remove redundant function interface.
2. Throw JS error when find abc failed
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I67R5D?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7b8cdc521d660d6651cf9b08863154756bbd0973
2023-01-17 21:01:22 +08:00
g00416891
4669062b16 Judge special value use Isxxx() instead of equal
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I3113af0caddc39519d070cc370d1843e6177982c
2023-01-14 10:20:50 +08:00
g00416891
8370390468 Optimize JSPandaFile CString usage
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I652fd8b434c8f5eef0da4e925a81048afd25eb8f
2023-01-09 15:19:40 +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
openharmony_ci
f40f9cc7fe
!3278 Delete redundant checks
Merge pull request !3278 from lijiamin/master
2023-01-03 03:36:15 +00:00
openharmony_ci
cea3922f50
!3308 Optimize method replacement process
Merge pull request !3308 from lijiamin/optimize
2023-01-03 03:23:37 +00:00
lijiamin
0ab96caf64 Optimize load patch
Signed-off-by: lijiamin <lijiamin24@huawei.com>
Change-Id: Ifcf0af255394bb648fb28785820c5ef2a03258d5
2022-12-30 16:43:38 +08:00
g00416891
45a845892e Add testcase for add a function in function for hot patch
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ie420b5a6dc4d53e0c64a03e1d6bf9a21addcbafb
2022-12-28 11:22:56 +08:00
lijiamin
2c9e769fb8 Delete redundant checks
Signed-off-by: lijiamin <lijiamin24@huawei.com>
Change-Id: If5954fe27748df45e4837e35a2c552453961a284
2022-12-27 16:29:11 +08:00
lijiamin
c11c0d10ab optimize unload patch:simlify repetitive checks.
Signed-off-by: lijiamin <lijiamin24@huawei.com>
Change-Id: I9459fed972a6e3e9aba31558084dcd335459cd54
2022-12-21 10:40:55 +08:00
lijiamin
55aba64be3 optimize patch loader
Signed-off-by: lijiamin <lijiamin24@huawei.com>
Change-Id: I767ff4c26ba97912d4295614b13136693d5deb77
2022-12-19 10:06:11 +08:00
openharmony_ci
b397f7013c
!3237 Refactor GetRecordName and GetMethodName for quick fix
Merge pull request !3237 from guobingbing3/optimize
2022-12-16 08:07:45 +00: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
jing_han
064d255620 Modifying Code Alarms
Signed-off-by: jing_han <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I65XWU
2022-12-15 15:45:47 +08:00
g00416891
1848134840 Check record name firstly in class literal for quick fix
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I4c3ff5e202ac9516e377dd40756f368f93938c99
2022-12-14 14:41:19 +08:00
g00416891
f0fb6e41ed Parse patch record info for quick fix
Change-Id: I64e1b915bbfa9f9a2451fb845613c0b66e94dde5
Signed-off-by: g00416891 <guobingbing3@huawei.com>
2022-12-12 19:42:23 +08:00
openharmony_ci
149f2c756a
!3166 Add error code for quick fix
Merge pull request !3166 from guobingbing3/master
2022-12-09 10:11:41 +00:00
g00416891
c276e3902e Remove GetClassMethodFromCache
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I9e137b2641c8b26ea1698a28db35dfc8b4d91762
2022-12-09 11:46:59 +08:00
g00416891
3d7022fe58 Add error code for quick fix
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Iff837eb41c1e63404834736f06582eb159c2cdc9
2022-12-07 11:50:57 +08:00
g00416891
c443bd6a58 Refactor quick fix loader and manager
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I3cba0e3d28f741137ecaa790fe2e365d3ac71b4d
2022-12-05 17:25:22 +08:00