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

Unified Diff: src/extensions/gc-extension.cc

Issue 139343007: Enable incremental marking when --expose-gc is turned on. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | src/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/gc-extension.cc
diff --git a/src/extensions/gc-extension.cc b/src/extensions/gc-extension.cc
index 1b5fb5d8c47768e00d85ccf8b20f5da95decc817..c79024939250f975e481e378d5eaa7fb43f8548d 100644
--- a/src/extensions/gc-extension.cc
+++ b/src/extensions/gc-extension.cc
@@ -45,8 +45,8 @@ void GCExtension::GC(const v8::FunctionCallbackInfo<v8::Value>& args) {
isolate->heap()->CollectGarbage(
NEW_SPACE, "gc extension", v8::kGCCallbackFlagForced);
} else {
- isolate->heap()->CollectAllGarbage(
- Heap::kNoGCFlags, "gc extension", v8::kGCCallbackFlagForced);
+ isolate->heap()->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask,
+ "gc extension", v8::kGCCallbackFlagForced);
}
}
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698