Commit Graph

21 Commits

Author SHA1 Message Date
chenqi
20726efef7 Add Container Queue
Description
  To ensure the high performance of container classes, Queue is provided in ark.
Related issue
  #I4TKAU:Add Container Queue

Signed-off-by: chenqi <chenqi151@huawei.com>
2022-03-05 16:55:38 +08:00
yingguofeng@huawei.com
e89ced9203 Heap code refactoring
Delete MemManager class. The allocation function move to heap.cpp. The Space
manage Allocator.

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

Change-Id: I03cef52d9a1c86b07323de1e19ead53fe6daaf99
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-02-25 16:03:15 +08:00
lifansheng
9efea35541 issue:#I4P7EY
Reason: To support AOT compilation, add ts type system to provide some
    interfaces and struct to wrap ts type and help type infer

    Description: create the global class TSLoader to expose the external
    interfaces, create the TSType and it's derived class, TSClassType,
    TSClassInstanceType, TSImportType and so on to wrap ts type in runtime.

    Add TDD unitest.

Signed-off-by: lifansheng <lifansheng1@huawei.com>
2022-02-22 16:50:20 +08:00
openharmony_ci
adadbbdff5
!575 Modify RegionFactory and Chunk
Merge pull request !575 from dingwen/master
2022-02-21 12:06:43 +00:00
dingwen
7010c5bb76 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
liuganlin
3f93f046c1 Add container ArrayList
Description
  To ensure the high performance of container classes, ArrayList is provided in ark.
Related issue
  #I4T65T:Add Container ArrayList

Signed-off-by: liuganlin <liuganlin@huawei.com>
2022-02-18 10:37:31 +08:00
xiongluo
8d2f78028a 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
feng
e0f34edb44 Performance optimization for String table
concat string table

issue:https://e.gitee.com/open_harmony/dashboard?issue=I4SASV

Signed-off-by: feng <yingguofeng@huawei.com>
Change-Id: I1ff7f15246c8d367c8c8a38f0effed9e6ace2bed
2022-02-15 14:23:43 +08:00
xliu
384e954045 Description
To ensure the high performance of container classes, TreeMap and
  TreeSet is provided in ark.
  Add test cases for TaggedTree.
Related issue
  #I4PQ1G:add TreeMap and TreeSet

Change-Id: I5cda72d06a71380711374109a87e971af6a8c5b7
Signed-off-by: xliu <liuxin259@huawei.com>
2022-02-10 11:28:34 +08:00
wengchangcheng
9a907ba3c3 optimize primitive type ACCESSORS
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-01-25 18:05:12 +08:00
wengchangcheng
839f39e500 modify ACCESSOR for EcmaString and TaggedArray
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I2995dc75ed34e8eb2bf249f2cced62ec9d91250e
2022-01-17 11:51:50 +08:00
ding
c4ffd76fd3 template class
Signed-off-by: ding <dingding5@huawei.com>
2021-12-25 09:51:43 +08:00
yingguofeng@huawei.com
1d9b2ac3dd nativePointer optimization
Change-Id: I97b58375c2ec30f33778d7f11fb40a9cf0ed346b
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2021-12-23 19:40:54 +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
xiongluo
1ec42f43ac heapdump
Signed-off-by: xiongluo <xiongluo@huawei.com>
2021-10-21 01:40:14 -10:00
yingguofeng@huawei.com
104878d175 Delete JSNativeObject
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: I2f4a2e518497bf1f8a4724c63ef566cefed28271
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2021-10-09 15:28:48 +08:00
openharmony_ci
0431c34492 !123 delete objectwrapper
Merge pull request !123 from yingguofeng/delete_objectwrap
2021-09-27 07:28:36 +00:00
yingguofeng@huawei.com
4919c829e6 delete objectWrapper
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: I0465495b40c9ad568bbc275ab026fa33e3120f26
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2021-09-27 14:19:21 +08:00
DaiHN
dcdb3370fb ISA Optimizated for string's tag
Signed-off-by: DaiHN <daihuina1@huawei.com>
2021-09-24 10:25:00 +08:00
zhangyukun
7ffcc4b20f Sync js_runtime to openharmony
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
2021-09-08 09:20:53 +08:00
wanyanglan
86cfe52253 add ark js_runtime
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00