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

Unified Diff: runtime/vm/thread.h

Issue 1402383003: Simplify timeline backend (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
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index 5ab7f7d04ccc2785a7bdcfa6181573d664e540e8..f1ff75eda7fa4cb721f45002c3e948d09f5c03c4 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -272,7 +272,6 @@ class Thread {
Zone* zone;
uword top_exit_frame_info;
StackResource* top_resource;
- TimelineEventBlock* timeline_block;
LongJumpScope* long_jump_base;
#if defined(DEBUG)
HandleScope* top_handle_scope;
@@ -312,12 +311,12 @@ LEAF_RUNTIME_ENTRY_LIST(DEFINE_OFFSET_METHOD)
// Only safe to access when holding |timeline_block_lock_|.
TimelineEventBlock* timeline_block() const {
- return state_.timeline_block;
+ return timeline_block_;
}
// Only safe to access when holding |timeline_block_lock_|.
void set_timeline_block(TimelineEventBlock* block) {
- state_.timeline_block = block;
+ timeline_block_ = block;
}
class Log* log() const;
@@ -419,6 +418,7 @@ LEAF_RUNTIME_ENTRY_LIST(DEFINE_OFFSET_METHOD)
Heap* heap_;
State state_;
Mutex timeline_block_lock_;
+ TimelineEventBlock* timeline_block_;
StoreBufferBlock* store_buffer_block_;
class Log* log_;
intptr_t deopt_id_; // Compilation specific counter.
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698