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

Unified Diff: runtime/bin/vmstats_impl.h

Issue 12316148: Quick fix for racy shutdown issues in VmStats. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | runtime/bin/vmstats_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmstats_impl.h
===================================================================
--- runtime/bin/vmstats_impl.h (revision 19105)
+++ runtime/bin/vmstats_impl.h (working copy)
@@ -43,7 +43,7 @@
int64_t bind_address_;
static VmStats* instance_;
- static dart::Monitor instance_monitor_;
+ static dart::Monitor* instance_monitor_;
// Disallow copy constructor.
DISALLOW_COPY_AND_ASSIGN(VmStats);
@@ -89,7 +89,7 @@
VmStatusService() : registered_plugin_list_(NULL) {}
static VmStatusService* instance_;
- static dart::Mutex mutex_;
+ static dart::Mutex* mutex_;
VmStatusPlugin* registered_plugin_list_;
« no previous file with comments | « no previous file | runtime/bin/vmstats_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698