Bug 216388 - Weak link instead of soft link MediaToolbox
Summary: Weak link instead of soft link MediaToolbox
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-10 16:58 PDT by Ben Nham
Modified: 2020-09-11 08:30 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Nham 2020-09-10 16:58:46 PDT
We currently soft-link (dlopen and dlsym) MediaToolbox. This causes unnecessary work (e.g. dlsym can't be optimized away even though both WK and MT are in the shared cache, which causes unnecessary __LINKEDIT pageins). We should switch to weak linking instead.
Comment 1 Radar WebKit Bug Importer 2020-09-10 16:59:11 PDT
<rdar://problem/68673547>
Comment 2 Ben Nham 2020-09-11 05:50:56 PDT
Oops, incorrect title. Fixed it to be "weak link instead of soft link".