Commit Graph

65 Commits

Author SHA1 Message Date
openharmony_ci
3e82cd0615
!7056 [Bug] atomics方法Detach后未报异常
Merge pull request !7056 from liujia178/mjsunit_atomics
2024-05-25 16:10:43 +00:00
liujia178
e0cdc299bf Fix harmony/atomics-on-arraybuffer-detach.js
Signed-off-by: liujia178 <liujia178@huawei.com>
2024-05-23 18:21:49 +08:00
lukai
8d364ca460 Bugfix: shared nonmovable space reach limit frequently
1. Cache Int64Max/Uint64Max bigint
2. Disable tlab if failure
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9RJIR?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: If2108b1728355e2246ff81effbf6cb542d5baacd
2024-05-23 11:54:28 +08:00
Gymee
67d7fe0243 Fix code style
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9P72Q
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ie6943ffc145142d53273821db893be3f6eb5547c
2024-05-17 10:57:26 +08:00
@han_177
96375fed10 修改告警:确保无符号整数不溢出
Signed-off-by: @han_177 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9KXXD
2024-05-10 18:27:47 +08:00
@han_177
643a228e26 修改告警
Signed-off-by: @han_177 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9KXYD
2024-05-09 17:33:44 +08:00
@han_177
9901da08d6 修改告警
Signed-off-by: @han_177 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9KXZL
2024-05-07 19:08:57 +08:00
@han_177
9ea7521009 修改告警
Signed-off-by: @han_177 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9KXRO
2024-05-04 18:22:49 +08:00
hwx1163501
81e290929a modify code alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9GQQH
2024-04-19 14:53:36 +08:00
hwx1163501
118d81b21e 解决抛异常问题
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9DUSB
2024-04-09 10:57:51 +08:00
zhangyouyou
8afe0ba85c 修改bigint 右移问题
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2024-03-07 16:35:54 +08:00
zhangyouyou
1bff458256 fix buf for needMoveBit is 64
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2024-02-17 16:46:19 +08:00
zhangyouyou
9f5ae76a63 bigint 异常没有及时返回
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2024-01-25 17:35:42 +08:00
杨云飞
b84c7f1339 异常没有即使返回
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-01-22 09:50:06 +08:00
openharmony_ci
73191527f6
!5784 1、解决BigIntToNumber的bug 2、解决没有抛异常问题
Merge pull request !5784 from 韩靖/master
2024-01-09 02:08:57 +00:00
hwx1163501
409b2e6a20 解决BigIntToNumber的bug,解决没有抛异常问题
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8TOVK
2024-01-08 16:54:16 +08:00
hwx1163501
65de0a2dee 解决bigint中asUintN和asIntNc第一个参数大于2**32的情况
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8TIA3
2024-01-04 15:01:48 +08:00
hecunmao
d9586ffbab Bugfix:
1. ArrayHelper: : FlattenIntoArray recursive call stack overflow
2.BigInt::Remainder An exception is not returned in time
3. ic errors occur when __proto__ is set to null

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8RL6T

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Ib3491a78bb2117a7acf087d97e00899d99ae1e5d
2023-12-28 09:28:41 +08:00
chenlincl3
64cb91eaab 【修复】BigInt::ToInt64和BigInt::BigIntToUint64存在非法内存访问
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I837WG

Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: Id513fca795ab2786721b1a845b6dbe952cc6931f
2023-09-21 19:14:06 +08:00
quiet-thought
b510ddced5 Bugfix on BuiltinsAtomics::HandleWithBigInt64 not timely return exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SECX

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I87829cfa0c4c939e92e3048aee62b832da7f50f2
2023-08-11 11:14:47 +08:00
tanglizhen2
27742b5279 node case bugfixed
Signed-off-by: tanglizhen2 <tanglizhen2@huawei.com>
Change-Id: Ie6fdb93c4faf48d698fa5f1aaea049328fe39ced
2023-07-24 03:11:41 +00:00
hwx1163501
649571a2b3 Fix throw excecption
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7L0AC
2023-07-14 16:48:09 +08:00
lichenshuai
4c924556f9 [Bug]: 修复BigInt范围过大问题
debug下挂在ASSERT,此时右侧操作数过大,应该提前抛出异常。

Issue: #I7JMNB

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I68cce7dcb8cefe6f3d05b0b329c31260d1e21441
2023-07-08 15:03:22 +08:00
王笑佳
53419af8a3 Fix CreateBigint throw excecption
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7IV2P

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-06 11:48:38 +08:00
quiet-thought
d3642ce4a2 Bugfix on BigInt::BigIntToNumber
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7E8AR

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Id12e761edaacd70eb86f19cdaa9459c657629366
2023-06-17 15:46:38 +08:00
quiet-thought
8fbd0e7606 Bugfix on BigInt::AsUintN: throw range error if maximum bigInt size exceeded
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DG0J

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I072a16262b4d01a3dc8483cccc2b8505986ff5cb
2023-06-15 16:43:27 +08:00
changjiaxing
18edb5a0ce Fix bug about napi_create_bigint_words and napi_get_value_int64
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6IZLX?from=project-issue
Signed-off-by: changjiaxing <changjiaxing2@huawei.com>

Change-Id: Ie750b4d753ddead2c4e1e804e10153643bbe36af
2023-03-02 21:45:03 +08:00
Gymee
45bbb6cbf5 remove redundant spaces between operator
Issue: #I63MCO
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ifd1d4768a2f96d618e991e07fc0b7a516c5965af
2022-11-29 11:47:32 +08:00
zhaozhibo
52a20b9768 fix code warnings
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-11-15 15:31:14 +08:00
zhaozhibo
ef9d0886d6 fix codex and reviewBot warnings
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-11-02 14:40:12 +08:00
changjiaxing
8ea94314e5 Optimization of bigint division algorithm
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5WVP5?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: If8e202f241496cc63fd3699fca7b2e73893937b2
2022-10-26 11:41:57 +08:00
zhaozhibo
bb7e9d952e fix codex and reviewBot warnings
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-10-21 11:47:25 +08:00
changjiaxing
e3d9b94438 Bigint optimization
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VKU5?from=project-issue

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
Change-Id: I81a1d4e2743c37bd13d94372ffc8097accc92d4a
2022-10-14 14:49:07 +08:00
wupengyong
3e9563018b reason:compiler ToBigUint64 and ToBigInt64
description:compiler ToBigUint64 and ToBigInt64
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5PFRE?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ia1aac57b03b7899e4a017162a581ce22d7a99635
2022-09-02 16:36:34 +08:00
openharmony_ci
c29332c1d9 !1833 fix fuzztest errro and add new fuzztest
Merge pull request !1833 from zhaozhibo/master

Change-Id: I1e83c46e25d0a7c342e5c8e7ca5ff61c745b7582
2022-07-25 08:49:51 +08:00
wengchangcheng
6e5a7e8362 Descriptor: ark hilog refactor
details:
1. use hilog in ohos device
2. use panda logger in host
issue:  https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
changjiaxing
033e89abcf Optimizing bigint data structures
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EIYF?from=project-issue

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
2022-06-28 18:53:08 +08:00
changjiaxing
27808c157d fix bigint bug about toint64
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EDTU?from=project-issue
Signed-off-by: changjiaxing <changjiaxing1@huawei.com>

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
2022-06-27 20:41:55 +08:00
changjiaxing
728e5200ce fix bug of bigint assert and finalizationregistry GC
issus: https://gitee.com/openharmony/ark_js_runtime/issues/I5DBSA?from=project-issue

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
2022-06-22 14:05:29 +08:00
openharmony_ci
d48ea0a885
!1585 fix codex warning
Merge pull request !1585 from hjzhangcm/master
2022-06-14 04:25:11 +00:00
hjzhangcm
0caf799590 fix codex warning issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C3XK
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-14 10:38:06 +08:00
jiangkai43
acbb7d82e6 Fix the problem of mixing unsigned and signed numbers
Description:use the same number type

Issues:https://gitee.com/openharmony/ark_js_runtime/issues/I5C30M:wq

Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
2022-06-13 21:20:08 +08:00
changjiaxing
9cb052803c Solve the problem that bigint division calculation will run in an infinite loop on rk3568
issues: https://gitee.com/chang-jiaxing/ark_js_runtime/issues/I5BXT2

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
2022-06-13 11:45:50 +08:00
hjzhangcm
8cd9d68b6b fix codex warning issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5BPNV
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-10 15:51:38 +08:00
jiangkai43
a03dcebfb7 Merge branch 'master' of gitee.com:openharmony/ark_js_runtime into master 2022-06-02 11:17:00 +00:00
jiangkai43
b13fb03d17 Add atomics project and modify code errors
Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
https://gitee.com/openharmony/ark_js_runtime/issues/I599WU
2022-06-02 19:09:01 +08:00
hjzhangcm
fbb52204b5 fix master warning and static vulnerability
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-05-31 16:42:32 +08:00
hjzhangcm
5b5e1717d8 fix codex warning
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-05-20 18:57:39 +08:00
zhangyouyou
b121fda3a5 https://gitee.com/openharmony/ark_js_runtime/issues/I57A8I
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2022-05-13 14:16:21 +08:00
hjzhangcm
eaa5a283e9 fix codex warning
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-05-06 17:52:55 +08:00