Open
Bug 1845263
Opened 2 years ago
Updated 25 days ago
[meta] Remove useless global constructors from libxul
Categories
(Core :: General, enhancement)
Core
General
Tracking
()
NEW
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Depends on 5 open bugs)
Details
(Keywords: meta)
Currently libxul has over 300 global constructors on Linux, as counted by
% nm obj-x86_64-pc-linux-gnu/dist/bin/libxul.so | grep _GLOBAL__sub -c
358
It would be nice to investigate if some of those could be removed, as global constructors are triggered on library load, which slows it down.
The clang flag -Wglobal-constructors can be used to easily track those.
Updated•2 years ago
|
Keywords: meta
Summary: Remove useless global constructors from libxul → [meta] Remove useless global constructors from libxul
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•