Skip to content

Commit 57e05df

Browse files
committed
Bug 1948401 - Add flow marker for tracking runnables added in RunInStableState. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D238326 UltraBlame original commit: 5a1f8c0bb78ff37be91664aed64b57dff695a627
1 parent de9feae commit 57e05df

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

xpcom/base/CycleCollectedJSContext.cpp

+49-1
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,15 @@ include
217217
"
218218
mozilla
219219
/
220+
FlowMarkers
221+
.
222+
h
223+
"
224+
#
225+
include
226+
"
227+
mozilla
228+
/
220229
MemoryReporting
221230
.
222231
h
@@ -4128,6 +4137,45 @@ MOZ_ASSERT
41284137
mJSContext
41294138
)
41304139
;
4140+
nsCOMPtr
4141+
<
4142+
nsIRunnable
4143+
>
4144+
runnable
4145+
=
4146+
std
4147+
:
4148+
:
4149+
move
4150+
(
4151+
aRunnable
4152+
)
4153+
;
4154+
PROFILER_MARKER
4155+
(
4156+
"
4157+
CycleCollectedJSContext
4158+
:
4159+
:
4160+
RunInStableState
4161+
"
4162+
OTHER
4163+
{
4164+
}
4165+
FlowMarker
4166+
Flow
4167+
:
4168+
:
4169+
FromPointer
4170+
(
4171+
runnable
4172+
.
4173+
get
4174+
(
4175+
)
4176+
)
4177+
)
4178+
;
41314179
mStableStateEvents
41324180
.
41334181
AppendElement
@@ -4137,7 +4185,7 @@ std
41374185
:
41384186
move
41394187
(
4140-
aRunnable
4188+
runnable
41414189
)
41424190
)
41434191
;

0 commit comments

Comments
 (0)