Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index 53c0cd0966d49515658d45e0fabc745391f485d3..2513756aae2b550b1871a7f1c07efebffb3c35b5 100644 |
--- a/Source/platform/heap/ThreadState.h |
+++ b/Source/platform/heap/ThreadState.h |
@@ -279,6 +279,12 @@ public: |
HeapPointersOnStack |
}; |
+ // When profiling we would like to identify forced GC requests. |
+ enum CauseOfGC { |
+ NormalGC, |
+ ForcedGC |
+ }; |
+ |
class NoSweepScope { |
public: |
explicit NoSweepScope(ThreadState* state) : m_state(state) |