• Shu-yu Guo's avatar
    Reland^2 "[string] Support shared strings in Value{Serializer,Deserializer}" · fc23bc1d
    Shu-yu Guo authored
    This is a reland of 5320fe8d
    
    Changes since revert:
    - Remove stale DCHECK in deserializer
    
    Original change's description:
    > Reland "[string] Support shared strings in Value{Serializer,Deserializer}"
    >
    > This is a reland of 3cb4039c
    >
    > Changes since revert:
    > - Fix FLAG_stress_scavenge interaction with shared Isolate
    > - Use the shared Isolate's global handles to keep shared values
    >   alive in transit during a postMessage
    >
    > Original change's description:
    > > [string] Support shared strings in Value{Serializer,Deserializer}
    > >
    > > When FLAG_shared_string_table is true, postMessaging strings will share
    > > instead of copy.
    > >
    > > Note that not all operations on shared strings are supported, and shared
    > > strings may be slower than non-shared strings for some operations.
    
    Bug: v8:12007
    Change-Id: I70782978ed05558615eca03bafc4c12eba3644ca
    Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel_ng
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3417189Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Commit-Queue: Shu-yu Guo <syg@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78791}
    fc23bc1d
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...