i think we need to copy out the internal fields when we iterate the weak roots
and zap the handle, no?

maybe declare a new (bigger) node type that is used for phantom handles?


https://codereview.chromium.org/753553002/diff/1/src/global-handles.cc
File src/global-handles.cc (right):

https://codereview.chromium.org/753553002/diff/1/src/global-handles.cc#newcode635
src/global-handles.cc:635: *(node->location()) =
Smi::FromInt(kPhantomReferenceZap);
if you zap the handle here, how can you get to object() when you read
out the internal fields?

https://codereview.chromium.org/753553002/

--
--
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.

Reply via email to