DescriptionAllow externalizing strings in old pointer space.
This is what I think is a better solution to the "external strings in
old pointer space" problem. Basically, it is an issue because GC scans
all fields of objects in old pointer space and if the cached address
of the backing store is unaligned, it looks like a heap object, boom.
The solution here is to use short external strings when we externalize
a string in old pointer space, and when the address is unaligned.
Short external strings don't cache the address, so GC has no issues.
BUG=268686
LOG=Y
R=dcarney@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=19093
Patch Set 1 #Patch Set 2 : add assertion that resource is aligned #Patch Set 3 : Also fix two-byte String::MakeExternal #
Messages
Total messages: 3 (0 generated)
|