DescriptionSerializer: commit new internalized strings after deserialization.
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
Committed: https://crrev.com/cf21d22fd8209f11f88b8665e68a24627e3e5161
Cr-Commit-Position: refs/heads/master@{#29308}
Patch Set 1 #
Total comments: 1
Patch Set 2 : use a list of handles instead of a relocatable class #Patch Set 3 : #
Messages
Total messages: 8 (1 generated)
|