Bug 121239
| Summary: | IncrementalSweeper should not require an entire Vector to do its job | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Hahnenberg <mhahnenberg> |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |