gecko-dev/layout/base
Emilio Cobos Álvarez d1a9b44ea6 Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn
I missed in bug 1487216 that the pres arena memory reporting assumes that the
entry indices are frame class ids, which means that we're reporting some display
list arena entries as frames, which is obviously wrong.

Cleanup a bit nsPresArena to remove the custom id concept, and report also
individual display item type memory usage.

Differential Revision: https://phabricator.services.mozilla.com/D35368

--HG--
extra : moz-landing-system : lando
2019-07-02 02:46:09 +00:00
..
crashtests Bug 1560328 - Add a crashtest for Bug 1560328 r=smaug 2019-07-02 18:37:45 +00:00
doc
gtest Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel 2019-05-26 14:31:53 +00:00
tests Bug 1561435 - Format layout/, a=automatic-formatting 2019-07-05 10:50:41 +02:00
AccessibleCaret.cpp Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
AccessibleCaret.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
AccessibleCaretEventHub.cpp Bug 1561825 - Make sundry static prefs follow the naming convention. r=KrisWright 2019-06-27 17:38:17 +10:00
AccessibleCaretEventHub.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1556103 - Part 1. Add long press action when setting focus. r=masayuki 2019-06-28 00:39:45 +00:00
AccessibleCaretManager.h Bug 1543315 - part 15: Mark PresShell::ScrollFrameRectIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:57:46 +00:00
ArenaObjectID.h Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
AutoProfilerStyleMarker.h Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn 2019-02-16 17:37:43 +00:00
CaretAssociationHint.h
FrameProperties.h
GeckoMVMContext.cpp Bug 1535945 - Don't skip invalidating frames when creating displayports for async scrollable ancestors. r=tnikkel 2019-05-01 04:23:07 +00:00
GeckoMVMContext.h Bug 1528052 - Suppress resize events until the initial paint has finished on mobile. r=botond 2019-04-23 04:14:55 +00:00
GeometryUtils.cpp Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio 2019-03-29 15:12:47 +00:00
GeometryUtils.h
LayoutConstants.h Bug 1549267 Part 2 - Improve comments in LayoutConstants.h. r=mats 2019-06-06 00:04:19 +00:00
LayoutLogging.cpp
LayoutLogging.h
MobileViewportManager.cpp Bug 1555511 Part 2: Remove a float division in MVM::ScaleZoomWithDisplayWidth. r=botond 2019-06-04 22:25:06 +00:00
MobileViewportManager.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
moz.build Bug 253889 - part 4: Finally, get rid of nsIPresShell r=emilio 2019-05-01 02:28:59 +00:00
MVMContext.h Bug 1528052 - Suppress resize events until the initial paint has finished on mobile. r=botond 2019-04-23 04:14:55 +00:00
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 1524431 Part 2 - Check IsBidiSplittable() before processing the ancestor frames. r=jfkthame 2019-06-11 19:27:57 +00:00
nsBidiPresUtils.h Bug 1554461 - Use an array to store nsContinuationStates when the number of them is low. r=jfkthame 2019-05-31 11:42:42 +00:00
nsCaret.cpp Bug 1547536 - Make PresShell QI-able for aware of do_QueryReferent() r=smaug 2019-04-30 00:56:14 +00:00
nsCaret.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
nsChangeHint.h Bug 1533963 - Use a single RestyleHint representation. r=heycam 2019-03-14 11:47:50 +00:00
nsCompatibility.h
nsCounterManager.cpp Bug 1552719 - Make nsBulletFrame::Ordinal() O(1) again. r=mats 2019-05-21 17:30:42 +00:00
nsCounterManager.h Bug 1552719 - Make nsBulletFrame::Ordinal() O(1) again. r=mats 2019-05-21 17:30:42 +00:00
nsCSSColorUtils.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsCSSColorUtils.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsCSSFrameConstructor.cpp Bug 1554571 - Part 3: Cache computed styles of scrollbar part anonymous content. r=emilio 2019-06-27 07:22:22 +00:00
nsCSSFrameConstructor.h Bug 1558352 - Ensure canvas anonymous content is always created before constructing the document element frame's children. r=TYLin 2019-06-12 10:09:28 +00:00
nsDocumentViewer.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-06 08:18:28 +00:00
nsFrameManager.cpp Bug 1553705 - Make GenerateStateKey() infallible. r=smaug 2019-07-01 07:20:04 +00:00
nsFrameManager.h Bug 1544343 - part 1: Make nsFrameManager, nsCSSFrameConstructor and nsFrameConstructorState use mozilla::PresShell directly rather than via nsIPresShell r=emilio 2019-04-16 07:24:29 +00:00
nsFrameTraversal.cpp
nsFrameTraversal.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsGenConList.cpp Bug 1552719 - Make nsGenConList::NodeAfter handle correctly nested pseudo-elements. r=mats 2019-05-21 17:29:26 +00:00
nsGenConList.h Bug 1552719 - Make nsBulletFrame::Ordinal() O(1) again. r=mats 2019-05-21 17:30:42 +00:00
nsIDocumentViewerPrint.h Bug 1544215 - Make nsIContentVewer::GetPresShell() return mozilla::PresShell instead of nsIPresShell r=bzbarsky 2019-04-16 02:47:26 +00:00
nsIFrameTraversal.h
nsILayoutDebugger.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-31 15:12:55 +00:00
nsILayoutHistoryState.idl Bug 1551652. Stop using [array] in nsILayoutHistoryState. r=heycam 2019-05-16 00:36:41 +00:00
nsIPercentBSizeObserver.h
nsIPreloadedStyleSheet.idl
nsIReflowCallback.h Bug 253889 - part 2: Move all methods and public structs of nsIPresShell into mozilla::PresShell r=emilio 2019-05-01 02:27:53 +00:00
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1550554 - Use OwnedSlice for will-change. r=heycam 2019-05-16 23:23:28 +00:00
nsLayoutHistoryState.cpp Bug 1551652. Stop using [array] in nsILayoutHistoryState. r=heycam 2019-05-16 00:36:41 +00:00
nsLayoutUtils.cpp Merge inbound to mozilla-central. a=merge 2019-06-29 12:59:53 +03:00
nsLayoutUtils.h Bug 1474771 - Revert all changes from bug 1459937 since they are no longer needed. r=dholbert 2019-07-01 21:58:35 +00:00
nsPresArena.cpp Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
nsPresArena.h Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
nsPresArenaObjectList.h Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
nsPresContext.cpp Merge autoland to mozilla-central a=merge 2019-06-27 12:33:50 +03:00
nsPresContext.h Backed out 4 changesets (bug 1488953) for causing Bug 1559690. a=backout 2019-06-27 01:03:50 +03:00
nsPresContextInlines.h Bug 1535788 - Make the Document own the StyleSet. r=heycam 2019-04-03 07:02:00 +00:00
nsQuoteList.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
nsQuoteList.h
nsRefreshDriver.cpp Bug 1561491 - Make gfx.* static prefs follow the naming convention. r=KrisWright 2019-06-26 10:38:09 +10:00
nsRefreshDriver.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp Bug 1547621 - Move all inline methods of nsIPresShell into mozilla::PresShell r=smaug 2019-04-30 01:52:53 +00:00
nsStyleSheetService.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
OverflowChangedTracker.h Bug 1544995 - Always update overflow areas up to the preserve-3d root. r=dbaron 2019-05-19 22:39:58 +00:00
PositionedEventTargeting.cpp Bug 1259660 - Cleaned up WidgetMouseEventBase by renaming WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource r=masayuki 2019-04-21 18:19:43 +00:00
PositionedEventTargeting.h
PresShell.cpp Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
PresShell.h Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
PresShellForwards.h Bug 253889 - part 4: Finally, get rid of nsIPresShell r=emilio 2019-05-01 02:28:59 +00:00
PresShellInlines.h Bug 1547621 - Move all inline methods of nsIPresShell into mozilla::PresShell r=smaug 2019-04-30 01:52:53 +00:00
PresState.ipdlh
RestyleManager.cpp Bug 1554571 - Part 1: Remove unused argument from Servo_ResolveStyle. r=emilio 2019-06-27 07:22:13 +00:00
RestyleManager.h Bug 1559627 - More reliably detect position changes during reframe. r=rhunt 2019-06-24 15:44:21 +00:00
ScrollStyles.cpp Bug 1560237 - Don't propagate scroll-behavior from <body>. r=botond 2019-06-26 20:57:05 +00:00
ScrollStyles.h Bug 1561738 - Remove nsStyleCoord. r=boris 2019-06-28 12:44:44 +02:00
ScrollTypes.h Bug 1546697 - Use a consistent style for enum classes in layout. r=dholbert 2019-04-25 23:03:04 +00:00
ShapeUtils.cpp Bug 1561738 - Remove nsStyleCoord. r=boris 2019-06-28 12:44:44 +02:00
ShapeUtils.h Bug 1561738 - Remove nsStyleCoord. r=boris 2019-06-28 12:44:44 +02:00
StackArena.cpp
StackArena.h
StaticPresData.cpp Bug 1537594 - Make the fixed generic family a parse-time alias to monospace. r=jfkthame 2019-04-01 21:48:08 +00:00
StaticPresData.h Bug 1537594 - Make the fixed generic family a parse-time alias to monospace. r=jfkthame 2019-04-01 21:48:08 +00:00
TouchManager.cpp Bug 1543439 - Part 2: Move is-user-interaction checks out of PresShell::EventHandler::PrepareToDispatchEvent; r=masayuki 2019-05-27 10:14:06 +00:00
TouchManager.h Bug 1543439 - Part 2: Move is-user-interaction checks out of PresShell::EventHandler::PrepareToDispatchEvent; r=masayuki 2019-05-27 10:14:06 +00:00
Units.h Bug 253889 - part 2: Move all methods and public structs of nsIPresShell into mozilla::PresShell r=emilio 2019-05-01 02:27:53 +00:00
UnitTransforms.h Bug 1530661 - Make APZ report the per LayersId layer-to-screen transform matrices to the chrome process. r=kats 2019-03-09 20:33:17 +00:00
WordMovementType.h
ZoomConstraintsClient.cpp Bug 1561491 - Make browser.* and dom.vr.* static prefs follow the naming convention. r=KrisWright 2019-06-25 16:32:29 +10:00
ZoomConstraintsClient.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00