Bug 121239

Summary: IncrementalSweeper should not require an entire Vector to do its job
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 121074    

Mark Hahnenberg
Reported 2013-09-12 10:55:37 PDT
Right now during every collection we fill a Vector with pointers to all the MarkedBlocks in the Heap just so the IncrementalSweeper can iterate over them later without getting confused about newly added blocks. This is too expensive to do during every GC, especially with a generational collector. We should instead create a special iterator that the IncrementalSweeper can use that iterates the blocks in place and handles any weird corner cases internally.
Attachments
Note You need to log in before you can comment on or make changes to this bug.