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

Unified Diff: Source/bindings/core/v8/V8GCController.cpp

Issue 1171423002: Oilpan: V8 major GC should schedule an idle GC if IDLE_GC is enabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8GCController.cpp
diff --git a/Source/bindings/core/v8/V8GCController.cpp b/Source/bindings/core/v8/V8GCController.cpp
index 6573ce25ab4ed4fb4e0b399c12df90fa3253ea32..678ba9d952eedd4a84cc79cc15dfbf1a40e94b14 100644
--- a/Source/bindings/core/v8/V8GCController.cpp
+++ b/Source/bindings/core/v8/V8GCController.cpp
@@ -444,7 +444,7 @@ void V8GCController::majorGCEpilogue(v8::Isolate* isolate)
// the DOM objects are not collected forever. (Note that
// Oilpan's GC is not triggered unless Oilpan's heap gets full.)
// (6) V8 hits OOM.
-#if ENABLE(OILPAN)
+#if ENABLE(IDLE_GC)
ThreadState::current()->scheduleIdleGC();
#else
ThreadState::current()->schedulePreciseGC();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698