Commit Graph

11 Commits

Author SHA1 Message Date
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