On Wed, Jul 24, 2013 at 3:34 PM, Dan Carney <[email protected]> wrote:
>>
>> Constantly needing to create a Local<T>::New() every time I need to use a
>> Persistent<T> in cases like the above isn't playing nicely. I've noticed
>> since the change that GC time from --prof has grown around 5% in high I/O
>> scenarios.
>
>
> It really shouldn't change GC times whatsoever.  I did just land a patch
> that might fix this, but I have no idea if it addresses the issue you're
> seeing here.

The issue Trevor's reporting is that each Local that's created with
Local<T>::New() gets added to the active HandleScope's internal list.
Before the Persistent changes, dereferencing a Persistent was cheap,
now it's not (if it's weak.)

Oh well, รง'est la vie.  I agree with the change.  By and large, it's
for the better IMO.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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/groups/opt_out.


Reply via email to