Updates:
        Summary: V8 Garbage Collector unable to reclaim local scope 2D contexts 
 
fast enough
        Status: Available
        Owner: [email protected]
        Labels: JavaScript

Comment #6 on issue 5452 by [email protected]: V8 Garbage Collector unable  
to reclaim local scope 2D contexts fast enough
http://code.google.com/p/chromium/issues/detail?id=5452

Looking at the original page (example.html) I made a reduction  
(reduction.html).  In
the reduction I create a local variable within a tight loop.  I instantiate  
a Canvas
and get a 2D context.  I then draw to the context and the variable goes out  
of scope.

The garbage collector is being hammered by the generation of all of these  
shortlived
objects.  The original example has two additional arrays plus the DOM  
holding
references to the same canvas but that does not appear to be necessary to  
see a
problem.

This specific example does not seem very likely but running the reduction  
under
Purify may bring to light problems that are worth fixing.

Attachments:
        example.html  1.2 KB
        reduction.html  958 bytes

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

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to