v8/test/unittests/objects
Manos Koukoutos 45d4d220d2 [wasm] Move js-to-wasm wrappers to the isolate
We move js-to-wasm wrappers to a WeakFixedArray in the isolate,
indexed by their canonical type index. This ensures that they are
reused across instances, and get GC'd when no longer needed.
We also remove eager compilation of wrappers.
This CL fixes some issues that were caused by out-of-bounds accesses
to wrapper arrays attached to module objects.

Bug: chromium:1363859, chromium:1363895

Change-Id: Idec0925e775f51fdfa7cd380379b0d1798295a0c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3893860
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83275}
2022-09-16 15:08:53 +00:00
..
array-list-unittest.cc [test] Move cctest/test-array-list to unittests 2022-04-21 09:49:26 +00:00
concurrent-descriptor-array-unittest.cc [test] Move cctest/concurrent-descriptor-array-unittest to 2022-04-21 16:26:18 +00:00
concurrent-feedback-vector-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
concurrent-js-array-unittest.cc [test] Move cctest/test-concurrent-js-array to unittests 2022-04-22 13:59:26 +00:00
concurrent-prototype-unittest.cc [test] Move cctest/test-concurrent-prototype to unittests 2022-04-26 07:27:55 +00:00
concurrent-script-context-table-unittest.cc [test] Move cctest/test-concurrent-script-context-table to unittests 2022-04-23 02:07:26 +00:00
concurrent-string-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
concurrent-transition-array-unittest.cc [test] Move cctest/test-concurrent-transition-array to 2022-04-26 09:46:06 +00:00
dictionary-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
elements-kind-unittest.cc [test] Move cctest/test-elements-kind to unittests 2022-05-16 13:20:28 +00:00
feedback-vector-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
global-object-unittest.cc [test] Move cctest/test-global-object to unittests/ 2022-06-27 11:29:32 +00:00
hashcode-unittest.cc [test] Move cctest/test-hashcode to unittests/objects/ 2022-06-13 11:35:20 +00:00
inobject-slack-tracking-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
intl-unittest.cc [intl] Sync to PR100 of intl-numberformat-v3 2022-07-27 04:42:47 +00:00
managed-unittest.cc [heap][test] Refactor tests using heap internals 2022-09-02 09:26:52 +00:00
modules-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
object-unittest.cc [runtime] Add runtime checks for name collisions 2022-08-05 18:05:59 +00:00
representation-unittest.cc [test] Move cctest/test-representation to unittests 2022-05-16 14:15:36 +00:00
roots-unittest.cc [wasm] Move js-to-wasm wrappers to the isolate 2022-09-16 15:08:53 +00:00
swiss-hash-table-helpers-unittest.cc Polyfill GroupSse2Impl on non-x86 platforms 2022-04-06 19:19:03 +00:00
symbols-unittest.cc [test] Move cctest/test-symbols to unittests/objects/ 2022-05-30 06:33:57 +00:00
value-serializer-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
wasm-backing-store-unittest.cc [wasm] Do not allocate guard regions for memory64 2022-07-28 14:41:45 +00:00
weakarraylist-unittest.cc [objects] Compact and shrink script_list 2020-01-08 17:48:32 +00:00
weakmaps-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
weaksets-unittest.cc [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00