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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.h

Issue 1358813002: Oilpan: We shouldn't trigger too many conservative GCs when detaching iframes Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
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 01a6d614fbecf5e237be2406fa188a4b9bcec2ac..d788a093d4e48122a5d8a9c02f1c0610fae43da8 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -336,6 +336,9 @@ public:
void scheduleV8FollowupGCIfNeeded(V8GCType);
void schedulePageNavigationGCIfNeeded(float estimatedRemovalRatio);
void schedulePageNavigationGC();
+ void v8ContextCreated();
+ void v8ContextDisposed();
+
void scheduleGCIfNeeded();
void setGCState(GCState);
GCState gcState() const;
@@ -787,6 +790,7 @@ private:
size_t m_gcForbiddenCount;
int m_persistentAllocated;
int m_persistentFreed;
+ int m_disposedV8ContextCount;
BaseHeap* m_heaps[NumberOfHeaps];
int m_vectorBackingHeapIndex;
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698