Commit Graph

4 Commits

Author SHA1 Message Date
dingwen 4e8493f6d4 Fix munmap bug on windows platform
Description:Only munmap once when MemMapAllocator Finalize
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I57FVJ

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Idd9d689a1332b2ab60626cc0c5445f2ec3975268
2022-05-16 16:16:10 +08:00
dingwen f4749b6029 Fix run unit tests fail on rk3568
Description:Everytime when vm destroy, munmap memPool resource
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I56MQ3
Signed-off-by: dingwen <dingwen6@huawei.com>

Change-Id: Ie28c6c2e59b75e896144357008b8561e6ae595e9
2022-05-10 17:23:29 +08:00
yingguofeng@huawei.com 6c5808fc28 Delete useless code dependencies
To reduce 'libark_ jsruntime.so' ROM size, delete useless code dependencies.

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

Profit: libark_jsruntime.so size reduce from 3455(kb) to 2001(kb)

Change-Id: Ie7430fca6f539c9baff1f4aae7942da6fc9ef135
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-04-24 18:02:32 +08:00
yingguofeng@huawei.com 07f3ca8f17 Memory map allocator implementation
Two memory blocks can be allocated: default region size and huge object size

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

Change-Id: I734213cfe43fc04638d4fd97d4cf4c04f7485875
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-04-21 22:32:21 +08:00