Bug 266080
| Summary: | Introduce compile-time checks and alternate allocation paths for compact pointer types | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Degazio <d_degazio> |
| Component: | Web Template Framework | Assignee: | David Degazio <d_degazio> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | commit-queue, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=266331 https://bugs.webkit.org/show_bug.cgi?id=266662 |
||
| Bug Depends on: | 266140 | ||
| Bug Blocks: | |||
David Degazio
rdar://119382681
Currently, we make the call for whether packed and compact pointer representations are usable based on the global EFFECTIVE_ADDRESS_WIDTH constant; instead, it might be desirable for us move towards finer-grained enablement of these optimizations, specifically being able to enable them on a type-by-type basis.
As a first step, let's:
- Require types to opt-into compact pointer usage, instead of assuming all pointers can be compacted/packed in the same way.
- Add alternate allocator paths for types that are used in compact pointers, giving us a new API point to control how they are allocated in the future.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Degazio
Pull request: https://github.com/WebKit/WebKit/pull/21517
EWS
Committed 271796@main (27959d8049ad): <https://commits.webkit.org/271796@main>
Reviewed commits have been landed. Closing PR #21517 and removing active labels.
WebKit Commit Bot
Re-opened since this is blocked by bug 266140
David Degazio
Pull request: https://github.com/WebKit/WebKit/pull/21576
EWS
Committed 271819@main (2c04bdef5846): <https://commits.webkit.org/271819@main>
Reviewed commits have been landed. Closing PR #21576 and removing active labels.