Updates:
Status: WorkingAsIntended
Comment #1 on issue 179 by [email protected]: CallIC_Miss() disables
handles allocation and then allocates handles
http://code.google.com/p/v8/issues/detail?id=179
This is working as intended. args.at<Object>(0) calls
Handle<T>::Handle(T** obj)
which is defined in handles.h (notice the double *):
INLINE(Handle(T** location)) { location_ = location; }
As you can see, this Handle constructor does not call CreateHandle.
In this code, we are using the fact that these pointers are already on the
stack.
Therefore, the garbage collector already knows about them and will update
them, so we
do not have to allocate a new handle in a handle scope. Instead, we create
a handle
that is backed by the stack instead of by a handle scope.
--
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
-~----------~----~----~----~------~----~------~--~---