Summary: | Allocate Structures in a separate part of the Heap | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Hahnenberg <mhahnenberg> | ||||
Component: | JavaScriptCore | Assignee: | Mark Hahnenberg <mhahnenberg> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | fpizlo, ggaren | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Mark Hahnenberg
2012-07-26 13:39:59 PDT
This first patch will just be separating Structures out into their own separate MarkedAllocator. Everything else will behave identically. (In reply to comment #0) > To fix our issue with destruction/finalization of Structures before their objects, we can move Structures to a separate part of the Heap that will be swept after all other objects. I like this approach! It also enables us to compress structure pointers in various sneaky ways even if we don't do it for all pointers. Created attachment 154769 [details]
Patch
Comment on attachment 154769 [details]
Patch
seems reasonable
Committed r123813: <http://trac.webkit.org/changeset/123813> |