Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1935)

Unified Diff: Source/platform/heap/ThreadState.cpp

Issue 672033003: Oilpan: Add TRACE_EVENT0 to ThreadState::waitUntilSweepersDone. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.cpp
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
index 60f6eca1fd0e166c6b6cb9ebf9d25e059b081568..7e1d3c3120e1091fd50c20c4316571ed34538623 100644
--- a/Source/platform/heap/ThreadState.cpp
+++ b/Source/platform/heap/ThreadState.cpp
@@ -1029,6 +1029,7 @@ void ThreadState::unregisterSweepingTask()
void ThreadState::waitUntilSweepersDone()
{
+ TRACE_EVENT0("blink_gc", "ThreadState::waitUntilSweepersDone");
MutexLocker locker(m_sweepMutex);
while (m_numberOfSweeperTasks > 0)
m_sweepThreadCondition.wait(m_sweepMutex);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698