Reviewers: ulan,
Description:
Serializer: 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.
[email protected]
BUG=chromium:502085
LOG=N
Please review this at https://codereview.chromium.org/1204863006/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+71, -42 lines):
M src/objects.h
M src/objects.cc
M src/snapshot/serialize.h
M src/snapshot/serialize.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.