Comment #2 on issue 419 by [email protected]: Two handles are equal even  
when they refer to different objects
http://code.google.com/p/v8/issues/detail?id=419

The handles are equal because they refer to the same object.  A and B are  
classes with
no members, so their instances have zero size, and therefore the stack  
allocated
instances a and b have the same address.  There is no way to distinguish &a  
and &b
once they have been cast to void*.  But it is also true that Handle is only  
meant to
keep track of HeapObjects when they are moved around by a garbage  
collection.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to