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

Unified Diff: src/heap.h

Issue 11232065: Expose gc(true) to JavaScript, which triggers a scavenger GC. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Fix styles Created 8 years, 2 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: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index da78b18a512764dae3510e6fcc6dfaa66665e129..c0b82422a97eabdf36478fc07895157f3dd43e6c 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1114,7 +1114,7 @@ class Heap {
// Utility to invoke the scavenger. This is needed in test code to
// ensure correct callback for weak global handles.
- void PerformScavenge();
+ void PerformScavenge(bool force_scavenge = false);
Michael Starzinger 2012/10/25 11:47:29 This change becomes obsolete then.
haraken 2012/10/25 11:54:49 Done.
inline void increment_scan_on_scavenge_pages() {
scan_on_scavenge_pages_++;

Powered by Google App Engine
This is Rietveld 408576698