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

Unified Diff: Source/platform/heap/Handle.h

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 | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index 3c906762314b20262b82fc8a52e33b3e1096a3a4..03a9cddbc2e60a5c5e1d0499dfe0b11e693ff149 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -286,6 +286,7 @@ public:
static Address outOfLineAllocate(ThreadState*, WrapperPersistentRegion**);
static void trace(WrapperPersistentRegion* head, Visitor* visitor)
{
+ TRACE_EVENT0("blink_gc", "WrapperPersistentRegion::trace");
sof 2014/10/10 07:21:19 TRACE_EVENT0() will always be in scope?
haraken 2014/10/10 07:27:42 Not always. If the TRACE_EVENT0 measures the time
for (WrapperPersistentRegion* current = head; current; current = current->m_next)
current->traceRegion(visitor);
}
« no previous file with comments | « no previous file | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698