Bug 109669

Summary: Orphan external arrays doesn't trigger garbage collection
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: abarth, alph, loislo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test none

Yury Semikhatsky
Reported 2013-02-13 00:52:59 PST
User's code can create several short-living external arrays that could occupy a lot of memory. Even if all references to the objects are cleared the external arrays may not be collected for a long time until the major GC. We may want to change the way GC is triggered to take into account size of external array data.
Attachments
Test (202 bytes, text/html)
2013-02-13 00:53 PST, Yury Semikhatsky
no flags
Yury Semikhatsky
Comment 1 2013-02-13 00:53:48 PST
Yury Semikhatsky
Comment 2 2013-02-13 01:02:00 PST
On the second look it seems that the GC is triggered just at a higher threshold.
Note You need to log in before you can comment on or make changes to this bug.