Index: third_party/WebKit/Source/platform/heap/ThreadState.h |
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h |
index 4f04eb71dabdfa9b7ba3fd19a7f162bb88e87fbb..a93530d31fbe84509af4b4a79145893833246b28 100644 |
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h |
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h |
@@ -285,6 +285,8 @@ class PLATFORM_EXPORT ThreadState { |
// the executions of mutators. |
void makeConsistentForMutator(); |
+ void compact(); |
+ |
// Support for disallowing allocation. Mainly used for sanity |
// checks asserts. |
bool isAllocationAllowed() const { |
@@ -561,6 +563,8 @@ class PLATFORM_EXPORT ThreadState { |
v8::Isolate* isolate() const { return m_isolate; } |
+ BlinkGC::StackState stackState() const { return m_stackState; } |
+ |
void collectGarbage(BlinkGC::StackState, BlinkGC::GCType, BlinkGC::GCReason); |
void collectGarbageForTerminatingThread(); |
void collectAllGarbage(); |