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

Unified Diff: runtime/bin/vmstats_impl.h

Issue 13603002: Added ctrl-\ command that dumps isolate stacks to dart binary. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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: runtime/bin/vmstats_impl.h
===================================================================
--- runtime/bin/vmstats_impl.h (revision 20895)
+++ runtime/bin/vmstats_impl.h (working copy)
@@ -17,6 +17,8 @@
class VmStats {
public:
+ static void Initialize();
+
static void Start(int port, const char* root_dir);
static void Stop();
@@ -24,9 +26,13 @@
static void AddIsolate(IsolateData* isolate_data, Dart_Isolate isolate);
static void RemoveIsolate(IsolateData* isolate_data);
+ // Print stack traces of current isolates to stdout.
+ static void DumpStack();
+
private:
VmStats() : root_directory_(NULL), running_(false), bind_address_(0) {}
+ static void StartServer(int port, const char* root_dir);
static void WebServer(uword bind_address);
static void Shutdown();
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/vmstats_impl.cc » ('j') | runtime/bin/vmstats_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698