Commit Graph

147 Commits

Author SHA1 Message Date
dingwen
6854ae9d97 Fix serialize shared object with clone list bug
Description: Fix serialize shared object with clone list bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IARMXG?from=project-issue
Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I65362110c9e6233bea41bf90c61754363efaa949
2024-09-18 09:06:01 +08:00
Gymee
2c08a803f0 Fix code diff
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAREF0
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I333b03fc8ad3486db3a645c01ac08b95df5e7884
2024-09-14 15:02:17 +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
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
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
openharmony_ci
adbab9821d
!8709 Fix security warning
Merge pull request !8709 from diartyz/type_mismatch
2024-08-16 08:28:31 +00:00
liu-zelin
280558f439 Fix security warning
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAK5BP?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I5384f7a4e4a3938428db997f41b0fc17c364bd5a
2024-08-15 10:18:46 +08:00
openharmony_ci
70f6e887c4
!8625 optimize compiler
Merge pull request !8625 from fangting/master
2024-08-14 00:48:36 +00:00
openharmony_ci
94ed26b2ef
!8610 Fix the bug of "ASSERT(!jshclass->IsShared())"
Merge pull request !8610 from lijiamin/debug
2024-08-13 08:31:52 +00:00
openharmony_ci
f5d2b7ca16
!8628 Support Shared Appspawn Space
Merge pull request !8628 from lukai/sAppspawn
2024-08-13 03:55:48 +00: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
188a6fec98
!8621 Fix type mismatch
Merge pull request !8621 from diartyz/type_mismatch
2024-08-12 22:55:05 +00:00
lukai
dd0f343cc6 Support shared appspapwn space
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I6c93ca7e80d9dccec11e6ab4c0c088f0cf7e4b26
2024-08-12 22:14:39 +08:00
xiongluo
568f338cc2 Fix deserialize valueVecor
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAJ2R9?from=project-issue

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I0f8a46907e8e883c196d30bf8998359b8e208e3d
2024-08-12 01:54:56 +08:00
wangzhaoyong
fc6c6f20de add serialize UT 01
1. add serialize UT - value_serializer.cpp

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

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I14503ce9a9235dce4b7ed05408efaf2e1daa1890
2024-08-10 22:36:58 +08:00
liu-zelin
c77e4369bc Fix type mismatch
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAJ43L?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: Ifc72780a31c5a48a461596e83b1b6151e3456260
2024-08-10 17:18:48 +08:00
lijiamin2019
43da77453d Fix some issues
1.Fix some issues

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

Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I3557f84790d3a1a8299abdf73194d81de699e3e3
2024-08-09 16:56:39 +08:00
openharmony_ci
e639d7deeb
!8511 Fix security warning
Merge pull request !8511 from diartyz/fix_security
2024-08-08 03:17:55 +00:00
liu-zelin
fa74b9ab7c Fix security warning
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHXTZ?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I0b9d619f1becdd40bded8069437b3f4a84bc23f9
2024-08-05 17:20:20 +08:00
openharmony_ci
85ebf42017
!8491 优化反序列化的 GetSerializeRootMapValue
Merge pull request !8491 from xiongluo/opt_serialize
2024-08-04 20:30:42 +00:00
xiongluo
5f8a6fd663 Optimize deserialize root
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHNJU?from=project-issue

Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I4613a1a01adf270c85e609cac46b3f3e11644fd1
2024-08-05 00:57:59 +08:00
openharmony_ci
aceae0ce4c
!8452 修复反序列化期间新创建的SharedObject未统计size
Merge pull request !8452 from chentianyu/size
2024-08-03 21:21:12 +00:00
chentianyu
24eccbc65d Fix shared obj size in deserialize
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAH6UD

Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I9f8fee6cee453fbba76b450c19ea5a4b035512cc
2024-08-01 16:45:23 +08:00
Philipp Shemetov
354d0065c1 Bug: fix size_t==ssize_t
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAGX3V
Change-Id: I98bde6cf79bd6bca9177cda778226d1e4f29cf9b
Signed-off-by: Philipp Shemetov <shemetov.philip@huawei.com>
2024-07-31 11:47:47 +03: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
openharmony_ci
8c30d95c97
!8396 shared_full Gc without force full gc in objectfactory
Merge pull request !8396 from xiongluo/shared_full_gc_no_force_full_gc
2024-07-30 02:24:43 +00: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
zhaoziming
bcbbd36570 Fix wrong PGO worknode for deserialized function
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAG24R

Tests: all per-merge test passed

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: I2053dee9f40a71e137c8349cf2e97811bcf365c8
2024-07-28 20:52:58 +08:00
openharmony_ci
a4869323e8
!7242 Delete serialize duplicate code
Merge pull request !7242 from dingwen/master
2024-07-28 10:55:17 +00:00
openharmony_ci
a0dcb2667f
!8312 NativeScope with DetachFunc at the end Serialize
Merge pull request !8312 from shemetovphilip/fix_detach_func
2024-07-26 11:31:07 +00:00
dingwen
cc2eb4f352 Delete serialize duplicate code
Description:Delete serialize duplicate code
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9LM7I

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I399c2d1983d2938955e4c797827234e23472af92
2024-07-26 14:15:41 +08:00
Author Philipp Shemetov
95802cc3a4 Fix state transition
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAESOU

Signed-off-by: Philipp <shemetov.philip@huawei.com>
2024-07-24 16:19:58 +03:00
Philipp Shemetov
85293039f5 NativeScope with DetachFunc at the end Serialize
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAF3GB
Change-Id: I3f99432d5bd90f6b9774c857323e6e18c2716f44
Signed-off-by: Philipp Shemetov <shemetov.philip@huawei.com>
2024-07-24 08:06:06 +03:00
yingguofeng@huawei.com
b5eedbb873 <Perf>(interpreter): Optimization PGO profile
1、Delete field VTable and Super in hclass.
    2、Opt dump hclass transition tree.
    3、Opt profileType of hclass.
    4、Class function supports ProfileTypeInfoCell.

Issue: #IA9QT3
Change-Id: I3d296f19433878c16f70d0260a3e77ce58ba9a3f
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2024-07-20 22:10:26 +08:00
openharmony_ci
719c0e8c59
!7998 Support sendable function
Merge pull request !7998 from lijiamin/master
2024-07-07 10:49:05 +00: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
dingwen
990eebd813 Add js heap dump before deserialize oom
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA9M0K?from=project-issue
Description:Add js heap dump before deserialize oom

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I1c55fcb089601c08904526f60406ffaf31d8e64c
2024-07-03 10:50:12 +08:00
openharmony_ci
116b6ccdda
!7858 SharedGC并发处理local-to-share rset
Merge pull request !7858 from chentianyu/rset
2024-06-25 05:18:46 +00:00
chentianyu
9e2c1318ea SharedGC process rset in concurrently
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I843fe6e21e02e631efcaf79745786e30eb4df4ad
2024-06-24 19:22:39 +08:00
openharmony_ci
63eab1965c
!7833 Support sendable arraybuffer/typedarray set in clone list.
Merge pull request !7833 from lijiamin/debug
2024-06-24 09:56:51 +00:00
lijiamin2019
a996afa9c3 Support arraybuffer/typedarray set int clonList.
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I35a9d46a28b49c7c65bcab15ae9e80c7091b9ecb
2024-06-24 16:33:20 +08:00
zhangyiwei
adcbee81c3 fix Serializer bug of EdenGC
Change-Id: Icb576837f768567fbe2572a007d32ab9827e72af
Signed-off-by: zhangyiwei <zhangyiwei11@huawei.com>
2024-06-16 15:55:33 +08:00
Gymee
8be71f4f7b Code tweaks
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9VMR5
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Iba24ad9b06adb60bd8ce22d7acbd965f06db3f69
2024-06-06 12:13:10 +08:00
hecunmao
9bfb684070 codeCheck
Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Ifeabbd3eb9b9484ed9ff939c323c6bfe8923db96
2024-06-04 09:45:47 +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
d6de48e714
!7368 [新需求]: 新增Cell类型,并适配缓存ProfileTypeInfo以提升性能
Merge pull request !7368 from 李晨帅/Cell
2024-05-17 10:00:26 +00:00
lijiamin2019
83f3d8cec5 Bugfix of sendable arraybuffer
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I91a03525a9a2b293734090bbecda57de422926a0
2024-05-17 15:30:26 +08:00
chentianyu
c0973fce63 Support SharedGC ConcurentMark
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: I476a1b4e349b53c960048890a776eaad7681bd03
2024-05-16 18:29:49 +08:00
lichenshuai
7112c43755 [新需求]: 新增Cell类型,并适配缓存ProfileTypeInfo以提升性能
之前,profileTypeInfo位于method,当前已被移动至function,此时如果重复definefunc,则会使得profileTypeInfo被清空。
因此,需要缓存profileTypeInfo以提升性能。
新增Cell类型,用于缓存profileTypeInfo。

Issue: #I9OZOF

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I151d78401ea7eba03426fd80fd3549a7f12effa0
2024-05-15 17:51:47 +08:00
openharmony_ci
22602cde39
!7362 modify code alarms
Merge pull request !7362 from 韩靖/master
2024-05-14 17:06:13 +00:00