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

Side by Side Diff: runtime/vm/isolate.h

Issue 1168483003: Thread-local store buffers, v2 (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments. Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/base_isolate.h" 10 #include "vm/base_isolate.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void VisitObjectPointers(ObjectPointerVisitor* visitor, 135 void VisitObjectPointers(ObjectPointerVisitor* visitor,
136 bool visit_prologue_weak_persistent_handles, 136 bool visit_prologue_weak_persistent_handles,
137 bool validate_frames); 137 bool validate_frames);
138 138
139 // Visits weak object pointers. 139 // Visits weak object pointers.
140 void VisitWeakPersistentHandles(HandleVisitor* visitor, 140 void VisitWeakPersistentHandles(HandleVisitor* visitor,
141 bool visit_prologue_weak_persistent_handles); 141 bool visit_prologue_weak_persistent_handles);
142 void VisitPrologueWeakPersistentHandles(HandleVisitor* visitor); 142 void VisitPrologueWeakPersistentHandles(HandleVisitor* visitor);
143 143
144 StoreBuffer* store_buffer() { return &store_buffer_; } 144 StoreBuffer* store_buffer() { return &store_buffer_; }
145 static intptr_t store_buffer_offset() {
146 return OFFSET_OF(Isolate, store_buffer_);
147 }
148 145
149 ClassTable* class_table() { return &class_table_; } 146 ClassTable* class_table() { return &class_table_; }
150 static intptr_t class_table_offset() { 147 static intptr_t class_table_offset() {
151 return OFFSET_OF(Isolate, class_table_); 148 return OFFSET_OF(Isolate, class_table_);
152 } 149 }
153 150
154 MegamorphicCacheTable* megamorphic_cache_table() { 151 MegamorphicCacheTable* megamorphic_cache_table() {
155 return &megamorphic_cache_table_; 152 return &megamorphic_cache_table_;
156 } 153 }
157 154
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 intptr_t serialized_args_len_; 991 intptr_t serialized_args_len_;
995 uint8_t* serialized_message_; 992 uint8_t* serialized_message_;
996 intptr_t serialized_message_len_; 993 intptr_t serialized_message_len_;
997 Isolate::Flags isolate_flags_; 994 Isolate::Flags isolate_flags_;
998 bool paused_; 995 bool paused_;
999 }; 996 };
1000 997
1001 } // namespace dart 998 } // namespace dart
1002 999
1003 #endif // VM_ISOLATE_H_ 1000 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698