DescriptionClear recorded slots when making a string external.
Slots in ConsString/SlicedString can point to an evacutaion candidate.
The MakeExternal function makes in-place conversion to external string.
After the conversion we can have a recorded slot containing an external
pointer. As long as the external pointer is aligned, this is not a
problem. We clear the recorded slots to fix verify-heap checks.
BUG=chromium:631969
LOG=NO
Finalizing CL: https://codereview.chromium.org/2199863002/
Committed: https://crrev.com/f6875cee3ab6cb69311bef765c0496877a5d3e8e
Cr-Commit-Position: refs/heads/master@{#38653}
Patch Set 1 : Copy CL #Patch Set 2 : Fix leak in test by stack-allocating temporary object #
Messages
Total messages: 12 (7 generated)
|