Bug 109669 - Orphan external arrays doesn't trigger garbage collection
Summary: Orphan external arrays doesn't trigger garbage collection
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 00:52 PST by Yury Semikhatsky
Modified: 2013-02-13 01:02 PST (History)
3 users (show)

See Also:


Attachments
Test (202 bytes, text/html)
2013-02-13 00:53 PST, Yury Semikhatsky
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 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.
Comment 1 Yury Semikhatsky 2013-02-13 00:53:48 PST
Created attachment 188030 [details]
Test
Comment 2 Yury Semikhatsky 2013-02-13 01:02:00 PST
On the second look it seems that the GC is triggered just at a higher threshold.