Commit Graph

32 Commits

Author SHA1 Message Date
dingwen
4974403b3f Modify old space overshoot size to avoid long time mark wait
Description:Modify old space overshoot size to avoid long time mark wait
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9U6AC?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I7323f22d487a47889dbf497ed91cf9bd3a705c9d
2024-06-01 15:32:19 +08:00
zhangyiwei
2990f9eb23 sticky gc
Signed-off-by: zhangyiwei <zhangyiwei11@huawei.com>
Change-Id: Id1d6b22d966b7342f832b4ca197c751df791cf48
2024-06-01 09:58:09 +08:00
yang-19970325
b417c1b87e Fix cpuprofiler Sampling error
Issue:#I9IRLD

Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: I34602b62fe91fe1bd73977a967b23cfcced744d2
2024-04-23 09:57:21 +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
rentangyu
2ecc366efe Provides properties to set the OOM waterline
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9CHSB

Signed-off-by: rentangyu <rentangyu@huawei.com>
2024-04-09 16:09:21 +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
dingwen
c5d23e3eec Add shared gc trigger
Description:Add shared gc trigger
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9D0AG?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I0bb112de15f32d555b3a5bdd6432d834c20b17ce
2024-04-02 20:50:47 +08:00
lukai
a1281730c0 Adjust shared heap size
Adjust shared heap size
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I98ZB3?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Ieeb55c6dd3de2cb4e85e265d2e9e43dc6cca1339
2024-03-15 20:48:00 +08:00
ginxu
6ea55a5e73 Adjust The Default Heapsize To 448 MB
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8S4JT
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I47a70511674f62dab73949ed65752a1e0fdd9506
2023-12-28 17:13:22 +08:00
weng-xi
2b384bff97 AOT development branch code integration
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8PYAN
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Iff4ddb646f7f9d6455ca2a3328ab3f94f9dd8757
2023-12-25 18:17:52 +08:00
dingwen
744ea82dc1 Adjust semi space overshoot size
Description:when jsheap contains deep tree string, main thread wait too
long time for concurrent mark, adjust semi space overshoot size to avoid
long time wait
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83SEG?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I58f7d46e989f940876ba1924e56c4b2353f22479
2023-09-25 10:25:51 +08:00
Zhenyu Pan
f4dbfaf677 Modify the max buffer size of serialization data
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7YHEJ

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: If55f43cebb411ed54b51f1705cbfb83ce472165f
2023-09-04 20:10:38 +08:00
dingwen
b12347a9d8 Adjust old gc trigger strategy
Description:Before old gc, full concurrent mark should be triggered
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7WPXG

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I6ca69e6b18d41ef4ba1e18e9c30b50ab45c03524
2023-08-30 20:52:38 +08:00
wuwanqi
4c419d1236 Increase nonmovable space limit size
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Q4SV?from=project-issue

Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: I3481164e1fb221e10f44e480eec62464ffb59e70
2023-08-03 10:26:58 +08:00
wuwanqi
944590dc5a Modify some heap params
Increase maxHeapSize and default nonMovablesize
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7E7GX?from=project-issue

Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: Ic28b7b66ff7d3835b41dffec8aed0f96ff0f2502
2023-06-17 15:39:43 +08:00
Gymee
0500527db8 Remove leading spaces at empty line
Issue: #I67PO6
Signed-off-by: Gymee <yumeijie@huawei.com>
2022-12-27 17:59:06 +08:00
Zhenyu Pan
f7c782f54a Add Upper limit size for JSDeserializer
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I649GD

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I36a0683a9da46daa7d897857de05adbb0e9faf86
2022-12-03 15:08:46 +08:00
linxiang
31dbc9a4e3 add log fatal before unreachable
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I272f5c052e58a1067528893d857dbd460e2d4d86
2022-12-01 16:30:13 +08:00
dingwen
a0258d9875 Add second pass callback for weak reference
Description:the finalize callback of weak reference may execute JS, so it can not invoke during GC process, so we add sencond pass callback and invoke it afetr GC
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5QEZK

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I612eb59ca734a44dd04ef374715660f3e2c69919
2022-09-13 20:23:13 +08:00
dingwen
8448df7965 Throw OOMError instead of Fatal when jsheap is used up
Description:When jsheap is used up, throw OOMError instead of LOG(Fatal)
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NXCQ

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I0f561f81fcd8a85ef5cf7792f9b455f0b5942959
2022-08-29 11:41:11 +08:00
zhangyukun8
7adfa5a022 Fix cpuprofile crash due to stackoverflow
1.__builtin_frame_address will return current sp,
but some stack spaces have been used and cause stackoverflow

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NW7W?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: If0fe59531530cbfdd224292419791796afc1516f
2022-08-26 16:46:09 +08:00
openharmony_ci
02c409516f
!2037 cpuprofile crash of applications
Merge pull request !2037 from zhangyukun8/master
2022-08-18 02:21:10 +00:00
zhangyukun8
01c616bf0b Fix cpuprofile crash of applications
1.asm stack size is determined by both thread stack size and max value
of stack size

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LYD1?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ib19bcc9f52b80f6fd22c45429998e06f9d7b89c0
2022-08-17 15:33:16 +08:00
yingguofeng@huawei.com
ed3d8eb76b perf(memory): Improper use of chunk leads to memory leakage.
The life cycle of the chunk under ECMA is the same as that of VM.
  Temporary objects or objects with a shorter life cycle than VM cannot be allocated through the chunk.

Closes: #I5MNM8

Change-Id: I0ceee15da0045d56c036d9c86f6949fe0db7e5b8
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-08-17 10:59:09 +08:00
wuwanqi
d880881b11 Default nonmovable space size is not big enough
allocate a larger default nonmovable space
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5KARR?from=project-issue

Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: If5b63b48c2570d397de2c66fef34a72bb84f6d07
2022-08-03 10:06:30 +08:00
Riachel
96adb30222 Descriptor: delete native_stack.h, trace.h and mem.h
details: delete native_stack.h, trace.h and mem.h
issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5IS38

Signed-off-by: Riachel <caolili14@huawei.com>
2022-07-28 19:15:13 +08:00
openharmony_ci
a41eddc321
!1774 fix the scenes that huge space committed size is big, but old space committed size is small
Merge pull request !1774 from lukai/master
2022-07-18 09:17:03 +00:00
lukai
ffb28f6588 to fix the scenes that huge space committed size is big, but old space committed size is small
old space and huge space share the same capacity to trigger-gc
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/new?issue%5Bassignee_id%5D=0&issue%5Bmilestone_id%5D=0

Change-Id: Ibeef144079fc29159701ac008a0fc5527664be07
Signed-off-by: lukai <lukai25@huawei.com>
2022-07-18 11:11:43 +08:00
zhangyukun8
b789fafc2f Add stackoverflow check of asm interpreter
1. check rsp stackoverflow
2. add calltype testcase

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5DJR0?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ib7f2f32588eaed74e6aff5b9c1ad37c39c81509e
2022-07-13 10:54:53 +08:00
lukai
a2d3403952 add read-only space
realize read-only space to manage read-only object
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5DHA7?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I94007e4a2ad990ca21a182afa182713cae390a76
2022-06-28 09:15:29 +08:00
lukai
4198c6add1 adjust pool size and related vm-memory according to physical memory
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5CCG0?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I46bf3a11ef509ece55b45edc92bb7cb68c100dfa
2022-06-18 14:38:43 +08:00
lukai
6eb0577699 support memory parameters configuration
1. heap configuration including heapSize and space capaticity
2. other parameters such as gcThreadNum, longPauseTime.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I59HYO?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: If3bfe7338ae0712809d9750fef3bbbb14017223f
2022-05-30 17:22:08 +08:00