Bug 289491
| Summary: | [WTF] Refactor SequesteredArenaAllocator::Arena for better separation of concerns | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcus Plutowski <marcus_plutowski> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | Keywords: | InRadar |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marcus Plutowski
rdar://146690839
Currently, the Arena relies on knowledge of its parent SequesteredArenaAllocator’s layout. We should move that logic into the SequesteredArenaAllocator itself.
Symmetrically, the SequesteredArenaAllocator has to reach into each of its subordinate Arenas at the end of its lifetime — this logic should be handled inside of the Arena, with the SAA just calling a method on each Arena.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Marcus Plutowski
Pull request: https://github.com/WebKit/WebKit/pull/42212
EWS
Committed 291969@main (25afb40a178d): <https://commits.webkit.org/291969@main>
Reviewed commits have been landed. Closing PR #42212 and removing active labels.