Bug 303343

Summary: Implement a fallback in CompactPtr for storing some pointers that don't fit within 36-bits.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Mark Lam
Reported 2025-12-01 14:50:12 PST
The OS linker / loader (at its own discretion) may choose to locate statically allocated objects at addresses that are beyond the 36-bits range (unlike heap addresses which are always within 36-bits). As such, for robustness, CompactPtr should have a fallback system that allows it to encode such outsized pointers.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-01 14:50:38 PST
Mark Lam
Comment 2 2025-12-01 15:27:35 PST
EWS
Comment 3 2025-12-02 22:06:52 PST
Committed 303809@main (4d03df5acb1f): <https://commits.webkit.org/303809@main> Reviewed commits have been landed. Closing PR #54662 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.