Commit Graph

64 Commits

Author SHA1 Message Date
zhaozhibo 116b8f85cb Fix internal issue list problem
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-03-14 15:19:45 +08:00
zhangyouyou 66dec69743 Add bigint type, add related instructions and Napi
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2022-03-10 21:25:06 +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
lengchangjing eb86719436 Merge remote-tracking branch 'mother/master' 2022-03-07 20:55:58 +08:00
lengchangjing d8988764bc Merge remote-tracking branch 'mother/master' 2022-03-07 10:56:22 +08:00
openharmony_ci dfbff80e63 !687 fix jspandafile of framework file and aot info
Merge pull request !687 from changcheng/refactor_pandafile_and_nativepointer
2022-03-06 15:57:41 +00:00
lengchangjing fb1cf3cd96 Merge remote-tracking branch 'mother/master' 2022-03-04 21:26:36 +08:00
lengchangjing e2c971a8f9 change Class Ecma_VM's member options_ for multiple use
Description
  add a member of type JSRuntimeOptions
Related issue
  #I4W0M1:change Class Ecma_VM's member options_ for multiple use

Signed-off-by: lengchangjing <lengchangjing@huawei.com>
2022-03-04 21:01:43 +08:00
wengchangcheng 65ce5ee62d fix jspandafile of framework file and aot info
1. delete unused logic of framework pandafile
2. refactor native pointer callback
3. fix bug of generate aot info

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I3ba318a0bc2c0e95afff6473ff106bc8b5c9dfe4
2022-03-04 15:29:27 +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
wengchangcheng 7c7b0e5097 fix actor bug
modify actor for app start

issue:https://gitee.com/openharmony/js_worker_module/issues/I4SMW8

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Iad48f3173a963c4290701a708f41832359c88b02
2022-03-02 15:33:19 +08:00
y00576111 9eeef5be33 js pandafile refactor, support actor function
When the worker thread is started
the part shared by the virtual machine is not recreated
only the part that cannot be shared is created

issue:https://gitee.com/openharmony/js_worker_module/issues/I4SMW8

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I3c01588bb8449bd9cd8b410cfd13ff55205f41c1
2022-03-02 15:33:19 +08:00
panzhenyu1 17258d9872 Adapt for windows platform
related issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4VDA4
Change-Id: I4560cf0ec4c05ccd855debb51b6d0190b4f1ccfa
Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com>
2022-03-02 11:22:58 +08:00
yingguofeng@huawei.com ceeacc44ce ark_dev CI failed: fangtaobao sliding test crash bugfix
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4UYH5?from=project-issue

Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: Ie652d7e26398215fd92907ebdb34d4a0b4a48ba5
2022-02-23 16:29:15 +08:00
openharmony_ci ff645354b9 !558 Merge new runtimetrapolines from c_asm into master
Merge pull request !558 from zhangyukun8/master
2022-02-17 02:54:23 +00:00
xiongluo 82b0916295 GC name is unclear and confused. class_ in object factory are redundant.
Modify gc name and delete class_ in object factory.

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

Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-02-16 01:10:53 -10:00
zhangyukun edb4abca97 Merge new runtimetrapolines from c_asm into master
Bug: #I4TRQP

Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: I55b49c3ec9f6c5f91272668ff43ef4147b9ed6c2
2022-02-16 16:49:53 +08:00
yingguofeng@huawei.com ef9b13734d Performance optimization for gc
1、Optimize GC parallel evacate strategy: evacuate to old space with FreeListAllocator.
2、Adjust strategy that whole region evacuate: Only support new fromspace to new tospace.
3、Adjust Semi space capacity growing/shrinking strategy and Adjust Semi space initialize size.

splay-benchmark:
blue zone: ark_js(2500), v8(2000)
ark-dev:  ark(1200), v8(1500)

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

Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: Ie9c6e94c47f531bf9c1ebf5bc7443dd1acb7d2ac
2022-02-15 14:23:43 +08:00
zhangyukun dde836ab5c Support weak refernce of ark napi
Add ClearWeak() interface
bug:#I4TEDI

Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: Iabce07be151bf41d19a523a70cb79c8462d8bc3d
2022-02-12 11:09:33 +08:00
openharmony_ci 3dba0c122c !529 The runtime should be destroyed after all VMS
Merge pull request !529 from linxiang8/master
2022-02-11 08:22:58 +00:00
linxiang 4995dbaef3 The runtime should be destroyed after all VMS
Description
    Ensure that all VMS have been destroyed by counting, ann then DestroyRuntime

Related issues
    https://gitee.com/openharmony/ark_js_runtime/issues/I4T7NX

Signed-off-by: linxiang <linxiang8@huawei.com>
2022-02-11 10:15:02 +08:00
openharmony_ci a1e410deb6 !522 support print ark log
Merge pull request !522 from changcheng/master
2022-02-10 14:37:53 +00:00
wengchangcheng 2cfc71e33b support print ark log
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4T6XR

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-02-10 18:14:15 +08:00
openharmony_ci 310ee5221f !490 support SuspendVM and output UncaughtException
Merge pull request !490 from 苏重威/master
2022-02-09 09:39:35 +00: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
y00576111 28f94a3077 InternalMemorySizeLimit init bugfix
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: Id3afe265f1ce536ef0f9cc284cf469f50b46e5f1
2022-01-27 15:25:05 +08:00
wengchangcheng 9a2b7d04e8 optimize primitive type ACCESSORS
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-01-25 18:05:12 +08:00
openharmony_ci 774607dff5 !351 remvoe unnecessary StringRef
Merge pull request !351 from yaojian16/optimizer
2022-01-21 06:20:35 +00:00
openharmony_ci c22e2930d1 !410 modify ACCESSOR for EcmaString and TaggedArray
Merge pull request !410 from changcheng/master
2022-01-17 10:34:20 +00:00
y00576111 30c3088dbf Promise does not execute the task queue
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: If120e3b6c7d76960b23e79b4293ed9368f5d5470
2022-01-17 14:39:42 +08:00
wengchangcheng 2bfd68c01a modify ACCESSOR for EcmaString and TaggedArray
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I2995dc75ed34e8eb2bf249f2cced62ec9d91250e
2022-01-17 11:51:50 +08:00
y00576111 6cb00cdd4c remove unnecessary stringref
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I2154cdf7565da576103b8c1215a982f66df20661
2022-01-17 10:48:02 +08:00
songzhengchao e45362e775 Merge branch 'master' of gitee.com:openharmony/ark_js_runtime
Signed-off-by: songzhengchao <wuzhefeng1@huawei.com>
Change-Id: I6e717b8532e6795174654ad50d633a41e85c4bcf
2022-01-14 22:46:13 -08:00
openharmony_ci 8092816c94 !398 modify debugger events listener and support run debugger api test in device
Merge pull request !398 from changcheng/master
2022-01-14 08:39:53 +00:00
songzhengchao 9ec2857775 Merge branch 'master' of gitee.com:openharmony/ark_js_runtime
Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: Ia32bcdd74782f4a39df7b198d832ec8cc54d940b
2022-01-14 16:30:27 +08:00
songzhengchao 44df21086b Merge remote-tracking branch 'zf/master'
Change-Id: I723f168f87cdb40bc5123226bd52f641487d147d
Signed-off-by: songzhengchao <songzhengchao@huawei.com>
2022-01-14 16:29:01 +08:00
wengchangcheng 0aae4c36a6 modify debugger events and api test
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I2b63f2d9af7eba0b5319e7ed459bb48e665f13d8
2022-01-14 15:24:38 +08:00
openharmony_ci f52063cc93 !346 Add ark config properties
Merge pull request !346 from lukai/master
2022-01-14 04:35:28 +00:00
wuzhefeng 5720a01a3a Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: Ic990c5f11caeb3075033719a13e759baaf6dfefb
2022-01-13 00:26:00 -08:00
lukai 09038221a1 add ark properties ,issue:#I4PVB3
Signed-off-by: lukai <lukai25@huawei.com>
2022-01-13 16:12:25 +08:00
wangben e3f231c234 Signed-off-by: wangben <wangben15@huawei.com>
On branch master
 Your branch is up-to-date with 'origin/master'.
2022-01-13 15:52:52 +08:00
wangben 119fc3d2b0 Signed-off-by: wangben <wangben15@huawei.com>
On branch master
 Your branch is up-to-date with 'origin/master'.

Signed-off-by: wangben <wangben15@huawei.com>

 On branch master
 Your branch is up-to-date with 'origin/master'.
2022-01-12 16:43:50 +08:00
linxiang 3178cc419e fix hppgc bug
Signed-off-by: linxiang <linxiang8@huawei.com>
2022-01-07 11:00:49 +08:00
openharmony_ci 963f641dcc !293 fix cppcrash when exit
Merge pull request !293 from huangfeijie/master
2021-12-31 04:31:13 +00:00
root 087867f095 Signed-off-by: 常佳兴 <925774720@qq.com>
Please enter the commit message for your changes. Lines starting
 with '#' will be ignored, and an empty message aborts the commit.

 Committer: root <root@DESKTOP-KJ56O8O.localdomain>

 On branch master
 Your branch is up to date with 'origin/master'.

 Changes to be committed:
	modified:   ecmascript/napi/include/jsnapi.h
	modified:   ecmascript/napi/jsnapi.cpp
2021-12-29 18:49:24 +08:00
ding c4ffd76fd3 template class
Signed-off-by: ding <dingding5@huawei.com>
2021-12-25 09:51:43 +08:00
h00611971 03595c9cda fix cppcrash when exit
Signed-off-by: h00611971 <huangfeijie@huawei.com>
2021-12-24 16:08:10 +08:00
panzhenyu1 ee7da79043 Add Inherit Api for FFI
Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com>
2021-12-23 17:33:08 +08:00
zhangyukun a97747fe18 Description:sync from code from wgr_master to ohos
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: Ic66a9e649de8c0ce530483296fe323b8f50621fb
2021-12-21 09:36:03 +08:00
lifansheng fa4e33afb1 Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master
 Your branch is up to date with 'origin/master'.
2021-11-25 10:37:20 +08:00