• yangguo's avatar
    Serializer: commit new internalized strings after deserialization. · cf21d22f
    yangguo authored
    Reserving space for deserialization can cause GC, which
    can evict entries from the string table. Having more deleted
    entries now, StringTable::EnsureCapacity could cause a GC
    later during deserialization even when we actually still
    have enough capacity.
    
    Instead, we now keep new internalized strings in a separate list
    and commit them to the string table at the end.
    
    R=ulan@chromium.org
    BUG=chromium:502085
    LOG=N
    
    Review URL: https://codereview.chromium.org/1204863006
    
    Cr-Commit-Position: refs/heads/master@{#29308}
    cf21d22f
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
mksnapshot.cc Loading commit data...
natives-external.cc Loading commit data...
natives.h Loading commit data...
serialize.cc Loading commit data...
serialize.h Loading commit data...
snapshot-common.cc Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot.h Loading commit data...