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

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

Issue 646553005: Oilpan: Add more trace events to platform/heap/ (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 b90d493bf63ac4bf71a69da752add1a52661eee5..c856bc8a38594729d1ad481150950835fe65f136 100644
--- a/Source/platform/heap/ThreadState.cpp
+++ b/Source/platform/heap/ThreadState.cpp
@@ -570,7 +570,10 @@ void ThreadState::visitStack(Visitor* visitor)
void ThreadState::visitPersistents(Visitor* visitor)
{
m_persistents->trace(visitor);
- WrapperPersistentRegion::trace(m_liveWrapperPersistents, visitor);
+ {
+ TRACE_EVENT0("blink_gc", "WrapperPersistentRegion::trace");
+ WrapperPersistentRegion::trace(m_liveWrapperPersistents, visitor);
+ }
}
#if ENABLE(GC_PROFILE_MARKING)
@@ -1042,7 +1045,11 @@ public:
m_threadState->unregisterSweepingTask();
}
- virtual void run() { m_heap->sweep(m_stats); }
+ virtual void run()
+ {
+ TRACE_EVENT0("blink_gc", "ThreadState::sweepNonFinalizedHeaps");
+ m_heap->sweep(m_stats);
+ }
private:
ThreadState* m_threadState;
« 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