Closed
Bug 1903483
Opened 4 months ago
Closed 4 months ago
Simplify nsFrameList::EmptyList() allocation
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
129 Branch
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(1 file)
See the patch for details.
Assignee | ||
Comment 1•4 months ago
|
||
Bug 729519 [1] made the empty frame list be allocated in the
.rodata
(read-only) section. However, the setup can be simplified.
To verify that sEmptyList
is still allocated in the .rodata
section, I used
the following steps on my local Linux build:
- Move
nsFrameList.cpp
in moz.build from UNIFIED_SOURCES to SOURCES. - Run
objdump -x $(OBJDIR)/layout/generic/nsFrameList.o | grep sEmptyList
. - Verify that the output
sEmptyList
has.rodata
. The objdump output looks
like this:
0000000000000038 g O .rodata 0000000000000010 .hidden _ZN11nsFrameList10sEmptyListE
[1] Specifically, this commit:
https://hg.mozilla.org/mozilla-central/rev/c320c5821f98
Updated•4 months ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/cdf8c138d840
Simplify nsFrameList::EmptyList() allocation. r=layout-reviewers,emilio
Comment 3•4 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•