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

Unified Diff: src/d8.h

Issue 1147343004: Fixed memory-leak in d8. It did not clean evaluation context used for executing shell commands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed version Created 5 years, 7 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/d8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index 1f4bee29ed9dec50847fe6ac499d0354fe344d21..aac622833194e5815bd3a0424705049a79cefea7 100644
--- a/src/d8.h
+++ b/src/d8.h
@@ -264,6 +264,7 @@ class Shell : public i::AllStatic {
static int Main(int argc, char* argv[]);
static void Exit(int exit_code);
static void OnExit(Isolate* isolate);
+ static void CollectGarbage(Isolate* isolate);
#ifndef V8_SHARED
static Handle<Array> GetCompletions(Isolate* isolate,
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698