Commit graph

7 commits

Author SHA1 Message Date
HyukWoo Park
d2a17f09cd Update finalizer with shrink function
* add shrink function to resize finalizer list
* shrink the list when about an half of the list is empty

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2022-08-03 16:40:35 +09:00
HyukWoo Park
8fa6031fec Add DerivedObject for sub classes of Object
* check index property set in DerivedObject::defineOwnProperty method only
* index property check is removed for normal Object because PrototypeObject would check it instead

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2022-05-11 15:59:43 +09:00
Seonghyun Kim
77a68579a5 Implement per thread isolating
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
2021-07-15 17:47:41 +09:00
HyukWoo Park
90522697eb Refactoring Job
* all types of job now handled in the task queue

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2021-02-16 09:34:31 +09:00
Seonghyun Kim
01e61f1242 Revise WeakMap and WeakSet
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
2021-02-11 21:25:23 +09:00
Seonghyun Kim
a2d2bf01b8 Implement FinalizationRegistry.prototype.cleanupSome
* FinalizationRegistry should have weak reference of Object

Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
2021-02-09 17:47:27 +09:00
bence gabor kis
572a7eb3a2 Implement FinalizationRegistry object
https://tc39.es/proposal-weakrefs/#sec-weak-ref-objects

removed most of the related test-cases in test262 skiplist

The few remaning test-cases are base on FinalizationRegistry.prototype.cleanupSome, which i didn't find any documentation on.

Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2021-01-26 12:02:22 +09:00