Commit Graph

14 Commits

Author SHA1 Message Date
scw 6d1c76a3ea fix BuildNativeAndJsBackStackTrace theadcheck
BuildNativeAndJsBackStackTrace call GetJSThreadNoCheck to get thread

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I51QT4

Signed-off-by: scw <suchongwei@huawei.com>
2022-04-08 16:19:43 +08:00
wengchangcheng 4804cd80d3 add Wextra and Werror in gn args
1. add -Wextra and -Werror to check code format error
2. modify all compiler error

issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZDQE

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: If5fdd1980494269b4c06bf1bb38a8eba7952adea
2022-03-24 21:45:19 +08:00
songzhengchao 718b37beb0 Fix code review from issue
bool variable shoule assign value;
code delete reduant ";" and " ";
class construct function signal parameter shoule add explicit;
function declare return void when caller don't need return value;
and etc

issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4YXYH?from=project-issue
Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: I59e26d49f94e98a4cced7a5852df3029a5544d47
2022-03-22 14:25:18 +08:00
y00576111 a1796a573e EcmaScript Standard Module Implementation
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification

issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT]

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00
openharmony_ci d16af6b59c !674 Modify and supplement the stack column printing code of DFX module
Merge pull request !674 from 史凯/master
2022-03-06 04:26:05 +00:00
shikai-123 19abb2f5ef Modify and supplement the stack column printing code of DFX module
上传dfx模块代码,增加native栈栈列打印功能

https://gitee.com/openharmony/ark_js_runtime/issues/I4VB5Z

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-03-06 11:10:56 +08:00
scw 326b0140c9 move dfx feature to dfx dir
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I4SXXS

Signed-off-by: scw <suchongwei@huawei.com>
Change-Id: Ie5ae6a70f5b561b7578702db591affb26a0057d9
2022-03-04 10:52:47 +08:00
dingwen 87e9f4ff3c Modify RegionFactory and Chunk
Description:Divide RegionFactory into HeapRegionAllocator and
NativeAreaAllocator,use ChunkVector replace some unreasonable CVector.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4TRB8

Signed-off-by: dingwen <dingwen6@huawei.com>
2022-02-21 15:22:01 +08:00
scw 633e2ddbe8 support SuspendVM and output UncaughtException
Add VMNeedSuspension judge in CheckSafepoint and provide SuspendVM() ResumeVM() api in jsnapi to Suspend VM and Resume VM
Modify GetEcmaUncaughtException no longer clear exception and Add GetAndClearEcmaUncaughtException to get and clear exception

Issue I4SECM

Signed-off-by: scw <suchongwei@huawei.com>
2022-02-09 10:32:56 +08:00
shikai 6ed37cba7c Signed-off-by: shikai <shikai25@huawei.com>
modify
2022-01-20 22:59:01 +08:00
jiangkai43 83811df4d5 Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
modified heap file
2022-01-16 15:30:39 +08:00
jiangkai43 cda11eee19 Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
add interface of heap
2022-01-16 14:33:58 +08:00
jiangkai43 f0ff841412 Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
modify dfx
2022-01-16 13:47:23 +08:00
shikai 031856b56e add heapProfiler and getBackTrace napi
Signed-off-by: shikai <shikai25@huawei.com>
2022-01-14 18:11:09 +08:00