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

Unified Diff: runtime/vm/isolate.h

Issue 1412733008: Switch profiler from isolates to threads (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 908e64171e16736a7d3ffc659865359589f4cf6c..f55a2fc78faf8853314aac6fa77d452a362ec81b 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -307,6 +307,10 @@ class Isolate : public BaseIsolate {
Mutex* mutex() const { return mutex_; }
+ bool HasDebugger() const {
Ivan Posva 2015/10/28 19:31:53 Still needed?
Cutch 2015/10/28 19:50:33 Done.
+ return debugger_ != NULL;
+ }
+
Debugger* debugger() const {
ASSERT(debugger_ != NULL);
return debugger_;
@@ -550,27 +554,12 @@ class Isolate : public BaseIsolate {
return defer_finalization_count_ == 0;
}
- Mutex* profiler_data_mutex() {
- return &profiler_data_mutex_;
- }
-
- void set_profiler_data(IsolateProfilerData* profiler_data) {
- profiler_data_ = profiler_data;
- }
-
- IsolateProfilerData* profiler_data() const {
- return profiler_data_;
- }
-
void PrintJSON(JSONStream* stream, bool ref = true);
CompilerStats* compiler_stats() {
return compiler_stats_;
}
- // Returns the number of sampled threads.
- intptr_t ProfileInterrupt();
-
VMTagCounters* vm_tag_counters() {
return &vm_tag_counters_;
}
@@ -794,9 +783,6 @@ class Isolate : public BaseIsolate {
// Trace buffer support.
TraceBuffer* trace_buffer_;
- IsolateProfilerData* profiler_data_;
- Mutex profiler_data_mutex_;
-
VMTagCounters vm_tag_counters_;
RawGrowableObjectArray* tag_table_;
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698