v8/test
Joyee Cheung c0690fa8f0 Reland "[heap] pre-populate the single_character_string_cache"
This is a reland of commit 07e11a64e4.

The original change removed the fill_thehole_and_call_runtime bailout
in StringBuiltinsAssembler::StringToArray() so when the string
is external and cannot be unpacked, the FixedArray won't be filled
with holes before we call into the runtime, thus failing a
heap verification if a GC happens before the array is filled. This
reland adds back the bailout for this case.

Bug: v8:12718, chromium:1330410

Original change's description:
> [heap] pre-populate the single_character_string_cache
>
> This simplifies the code and removes the runtime overhead of
> spontaneously adding strings to the cache.
>
> Bug: v8:12718
> Change-Id: I2ed49bd82e3baf2563eeb8f463be72c0308c52c5
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3616553
> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
> Reviewed-by: Leszek Swirski <leszeks@chromium.org>
> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
> Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
> Commit-Queue: Joyee Cheung <joyee@igalia.com>
> Cr-Commit-Position: refs/heads/main@{#80803}

Change-Id: I25e8724d511a8d0d971fa2a9b6ba8a0eafce4413
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3793525
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82082}
2022-07-29 15:20:29 +00:00
..
benchmarks [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
bigint [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
cctest Reland "[heap] pre-populate the single_character_string_cache" 2022-07-29 15:20:29 +00:00
common [wasm] Use isorecursive canonical types for call_indirect 2022-07-29 08:55:49 +00:00
debugger [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
debugging [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
fuzzer [fuzzer] Fix fuzzer handling for table<externref> 2022-07-29 12:10:49 +00:00
fuzzilli [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
inspector [riscv32] Add RISCV32 backend 2022-07-29 00:59:06 +00:00
intl [Intl] Remove DateTimeFormat order check not throw RangeError 2022-07-27 05:31:00 +00:00
js-perf-test [TurboFan] Remove inappropriate perf tests for BigInt multiply 2022-07-27 14:27:48 +00:00
memory
message [riscv32] Add RISCV32 backend 2022-07-29 00:59:06 +00:00
mjsunit [wasm] Fix memory growth near the maximum 2022-07-29 14:39:19 +00:00
mkgrokdump [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
mozilla [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
test262 Skip flaky test recently landed from test262 2022-07-29 00:33:05 +00:00
torque
unittests Revert "[test][wasm] Increase coverage for value types in signature" 2022-07-29 12:54:09 +00:00
wasm-api-tests [wasm-gc] Split any and extern type 2022-07-28 13:09:55 +00:00
wasm-js [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
wasm-spec-tests [riscv32] Add RISCV32 backend 2022-07-29 00:59:06 +00:00
webkit [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
BUILD.gn [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
OWNERS