Closed
Bug 1903483
Opened 1 year ago
Closed 1 year 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•1 year 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.cppin moz.build from UNIFIED_SOURCES to SOURCES. - Run
objdump -x $(OBJDIR)/layout/generic/nsFrameList.o | grep sEmptyList. - Verify that the output
sEmptyListhas.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•1 year 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•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year 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
•