Bug 279777

Summary: Pass `RTLD_FIRST | RTLD_NOW` when dlopening UIKit
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2024-09-16 13:31:06 PDT
Pass `RTLD_FIRST | RTLD_NOW` when dlopening UIKit, instead of just `RTLD_NOW`. This is a launch time optimization recommended by the performance team. search for the symbol RTLD_FIRST will cause calls to exit on first finding the symbol, making the calls faster.
Attachments
Chris Dumez
Comment 1 2024-09-16 13:31:20 PDT
Chris Dumez
Comment 2 2024-09-16 13:33:17 PDT
EWS
Comment 3 2024-09-16 16:32:37 PDT
Committed 283729@main (703850c886c5): <https://commits.webkit.org/283729@main> Reviewed commits have been landed. Closing PR #33714 and removing active labels.
EWS
Comment 4 2024-09-18 17:29:28 PDT
Committed 283286.82@safari-7620-branch (751e10c2778a): <https://commits.webkit.org/283286.82@safari-7620-branch> Reviewed commits have been landed. Closing PR #1832 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.