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

Unified Diff: test/cctest/cctest.h

Issue 2310143002: [heap] Introduce enum of garbage collection reasons. (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | test/cctest/cctest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/cctest.h
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
index 333078a144efd476b3386a7d2cd28b3801bdd269..4ba609bbf46e66dbf797d0204c2c36baa84b02d7 100644
--- a/test/cctest/cctest.h
+++ b/test/cctest/cctest.h
@@ -125,6 +125,10 @@ class CcTest {
static i::Heap* heap();
+ static void CollectGarbage(i::AllocationSpace space);
+ static void CollectAllGarbage(int flags);
+ static void CollectAllAvailableGarbage();
+
static v8::base::RandomNumberGenerator* random_number_generator();
static v8::Local<v8::Object> global();
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | test/cctest/cctest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698