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); |
} |