buzhuyu
2fdb093ad0
Implementation of ProfilerImpl.Start and Stop
...
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I56YVM
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
2022-05-25 16:33:30 +08:00
openharmony_ci
afdf5d0c2a
!1256 CpuProfiler support return profileinfo
...
Merge pull request !1256 from 苏重威/master
2022-05-25 01:04:57 +00:00
scw
30b5aeb748
CpuProfiler support return profileinfo
...
Add start and stop API in cpuprofiler to return profileinfo
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I56SFR
Signed-off-by: scw <suchongwei@huawei.com >
2022-05-24 19:20:26 +08:00
wengchangcheng
a4f9603e75
Descriptor: modify stream and add switch of enable_dump_in_faultlog
...
details:
1. call EndOfStream after WriteChunk
2. add switch of enable_dump_in_faultlog
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I58KLM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I1c9b26873eae47f8e9e5788cd7a477f32738efc9
2022-05-21 16:37:04 +08:00
xiongluo
8e463ec9c1
Change the range of dump interface
...
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-05-18 15:33:33 -10:00
xiongluo
5122d18dca
Add interface to dump in faultlog and private param to hide string and number
...
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-05-17 22:42:10 -10:00
Riachel
df34983177
add reportprogress
...
reportprogress value before StopHeapTracking or DumpHeapSnapshot
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57VAP
Signed-off-by: Riachel <caolili14@huawei.com >
2022-05-17 20:12:15 +08:00
wengchangcheng
fe09e292ef
Descriptor: heapprofiler refactor
...
details:
1. store vm in heap profiler
2. make DumpHeapSnapshot not static
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I57OBY
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I436b17cb96198160437fbe70764181ab080d7c51
2022-05-16 20:28:42 +08:00
Riachel
25aa743438
modify StopHeapTracking Destroy
...
set heapProfile_ to nullptr after free
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57OVY
Signed-off-by: Riachel <caolili14@huawei.com >
2022-05-16 19:15:18 +08:00
wuzhefeng
662f2b78a6
Refactor Compilation Framework Part-2
...
1. Rename IR builder to improve the readability.
2. Remove redundant Headers to decouple the relationships of components.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56YPT
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com >
Change-Id: I0c8da6cd55bb8e7f33421ba846bab89bd5e06c55
2022-05-11 04:28:10 -07:00
dingwen
61b6782b65
Snapshot code optimization
...
Description:Snapshot code optimization include modify class name SnapShotSerialize to SnapShotHandler, delete some magic number, add interface to acquire global env and global const object index.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55CQ3
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I338028c5cfd4f992095f2bded2956e33f275bb1b
2022-05-07 09:23:06 +08:00
Riachel
3cbf8878ac
add heapprofiler domain
...
Signed-off-by: Riachel <caolili14@huawei.com >
2022-04-28 16:15:49 +08:00
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