Nicholas Nethercote
258c2f4cdf
Bug 921923 (part 3) - Make multi-output sizeOfFoo() functions more consistent in content/, dom/ and layout/. r=till.
...
--HG--
extra : rebase_source : ac8aebe86b4b7ee5acc0f541be5645abf73b6a98
2013-09-30 16:20:23 -07:00
Ehsan Akhgari
f3d39cbed0
Bug 906790 follow-up: Unbreak ASAN builds
2013-08-20 17:48:00 -04:00
Ehsan Akhgari
5fa9157954
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Catalin Iacob
4f03e5bb1a
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Mats Palmgren
401785134b
Bug 867530 - Move PresArena poisoning code to MFBT. r=roc
...
--HG--
rename : layout/base/tests/cpp-tests/TestPoisonArea.cpp => mfbt/tests/TestPoisonArea.cpp
2013-05-07 20:48:59 +02:00
Mats Palmgren
b82fc88ef0
Bug 856368 - Convert some comments into proper doc-comments. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
772df09e15
Bug 856368 - Inline the AllocateBy* and FreeBy* methods into the header. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
60e56dc95d
Bug 856368 - Adjust memory reporter SizeOf methods accordingly. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
cdbcd9c96c
Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
c3b4843c39
Bug 856368 - Remove DEBUG_TRACEMALLOC_PRESARENA. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
a9123c3d10
Bug 729519 - Allocate heap nsFrameLists from the shell arena. r=bzbarsky
...
"new nsFrameList()" becomes "new (shell) nsFrameList()".
"delete list" becomes "if (list) list->Delete(shell)" - note also that
an additional assertion was added that list is empty when deleted.
"nsAutoPtr<nsFrameList> list(StealSomeFrames())" becomes
"AutoFrameListPtr list(aPresContext, StealSomeFrames())"
2013-04-01 17:26:02 +02:00
Siddharth Agarwal [
7674716a66
Bug 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan
2012-06-13 10:43:38 -04:00
Nathan Froyd
df08b6c5cc
Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn
2012-06-06 13:35:40 -04:00
Nathan Froyd
07dd9516f2
Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc
2012-06-06 13:29:16 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mats Palmgren
3a8a0731b4
Bug 750745 - Allocate nsLineBoxes from their own presshell arena list. part=3/3 r=roc
2012-05-04 02:14:02 +02:00
Mats Palmgren
59250ec053
Bug 750745 - Introduce AllocateByObjectID/FreeByObjectID for allocating non-frame objects from per-type lists in the PresArena. part=2/3 r=roc
2012-05-04 02:14:02 +02:00
Mats Palmgren
bdf3368941
Bug 750745 - Rename nsPresArena::AllocateByCode/FreeByCode to AllocateByFrameID/FreeByFrameID. part=1/3 r=roc
2012-05-04 02:14:02 +02:00
Mark Capella
1a44f1208f
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
...
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Nicholas Nethercote
587382cea2
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
L. David Baron
f1fb6dbc73
Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky
...
I tested manually that after:
(a) removing the |ruleData.mValueOffsets[aSID] = 0;| in
nsRuleNode::WalkRuleTree
(b) removing the NS_ABORT_IF_FALSE(aRuleData->mValueOffsets[aSID] == 0,
...) from nsRuleNode::CheckSpecifiedProperties and
UnsetPropertiesWithoutFlags
that we crash dereferencing the poison address in a SetCoord call inside
nsRuleNode::ComputeTextResetData
2011-03-17 20:14:31 -07:00
Vladimir Vukicevic
cdebcfceeb
b=566447; add presshell memory reporter; r=bz
2010-05-31 19:19:35 -07:00
Zack Weinberg
1bbb6caf46
Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron
2009-09-16 10:00:04 +12:00
Justin Dolske
f221ae86bd
Backed out changeset a3f33def2dca (bug 497495 part 4)
2009-09-14 17:26:08 -07:00
Boris Zbarsky
efc26f0c70
Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron
2009-09-14 17:29:56 -04:00
Zack Weinberg
f1502249fc
Bug 497495 (frame poisoning) part 1: Move the frame arena code to its own file and rename the class to nsPresArena. r=roc
2009-08-17 20:21:06 -07:00