Chromium Code Reviews
DescriptionIgnore deleted handles when processing weak roots.
Previously, deleted weak persistent handles in live handle blocks were
always assumed live. With this change, dead handles are always ignored.
When a handle is deleted NULL is stored into the raw object member. This
looks like a Smi encoded 0. As the handle blocks do not otherwise encode
which elements are live in an allocated block, the garbage collector now
uses this signal to distinguish live handles from deleted handles.
BUG=1640
Committed: https://code.google.com/p/dart/source/detail?r=4291
Patch Set 1 #
Total comments: 1
Patch Set 2 : final revision #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||