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

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

Issue 14307013: - Remember the fact that an object has been added to the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/hash_set.h ('k') | runtime/vm/isolate.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 "platform/thread.h" 10 #include "platform/thread.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // Visit all object pointers. 152 // Visit all object pointers.
153 void VisitObjectPointers(ObjectPointerVisitor* visitor, 153 void VisitObjectPointers(ObjectPointerVisitor* visitor,
154 bool visit_prologue_weak_persistent_handles, 154 bool visit_prologue_weak_persistent_handles,
155 bool validate_frames); 155 bool validate_frames);
156 156
157 // Visits weak object pointers. 157 // Visits weak object pointers.
158 void VisitWeakPersistentHandles(HandleVisitor* visit, 158 void VisitWeakPersistentHandles(HandleVisitor* visit,
159 bool visit_prologue_weak_persistent_handles); 159 bool visit_prologue_weak_persistent_handles);
160 160
161 StoreBufferBlock* store_buffer_block() { return &store_buffer_block_; } 161 StoreBuffer* store_buffer() { return &store_buffer_; }
162 static intptr_t store_buffer_block_offset() { 162 static intptr_t store_buffer_offset() {
163 return OFFSET_OF(Isolate, store_buffer_block_); 163 return OFFSET_OF(Isolate, store_buffer_);
164 } 164 }
165 165
166 StoreBuffer* store_buffer() { return &store_buffer_; }
167
168 ClassTable* class_table() { return &class_table_; } 166 ClassTable* class_table() { return &class_table_; }
169 static intptr_t class_table_offset() { 167 static intptr_t class_table_offset() {
170 return OFFSET_OF(Isolate, class_table_); 168 return OFFSET_OF(Isolate, class_table_);
171 } 169 }
172 170
173 MegamorphicCacheTable* megamorphic_cache_table() { 171 MegamorphicCacheTable* megamorphic_cache_table() {
174 return &megamorphic_cache_table_; 172 return &megamorphic_cache_table_;
175 } 173 }
176 174
177 Dart_MessageNotifyCallback message_notify_callback() const { 175 Dart_MessageNotifyCallback message_notify_callback() const {
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 void PrintInvokedFunctions(); 463 void PrintInvokedFunctions();
466 464
467 static bool FetchStacktrace(); 465 static bool FetchStacktrace();
468 static bool FetchStackFrameDetails(); 466 static bool FetchStackFrameDetails();
469 char* GetStatusDetails(); 467 char* GetStatusDetails();
470 char* GetStatusStacktrace(); 468 char* GetStatusStacktrace();
471 char* GetStatusStackFrame(intptr_t index); 469 char* GetStatusStackFrame(intptr_t index);
472 char* DoStacktraceInterrupt(Dart_IsolateInterruptCallback cb); 470 char* DoStacktraceInterrupt(Dart_IsolateInterruptCallback cb);
473 471
474 static ThreadLocalKey isolate_key; 472 static ThreadLocalKey isolate_key;
475 StoreBufferBlock store_buffer_block_;
476 StoreBuffer store_buffer_; 473 StoreBuffer store_buffer_;
477 ClassTable class_table_; 474 ClassTable class_table_;
478 MegamorphicCacheTable megamorphic_cache_table_; 475 MegamorphicCacheTable megamorphic_cache_table_;
479 Dart_MessageNotifyCallback message_notify_callback_; 476 Dart_MessageNotifyCallback message_notify_callback_;
480 char* name_; 477 char* name_;
481 int64_t start_time_; 478 int64_t start_time_;
482 Dart_Port main_port_; 479 Dart_Port main_port_;
483 Heap* heap_; 480 Heap* heap_;
484 ObjectStore* object_store_; 481 ObjectStore* object_store_;
485 RawContext* top_context_; 482 RawContext* top_context_;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 632
636 private: 633 private:
637 Isolate::IsolateRunState saved_state_; 634 Isolate::IsolateRunState saved_state_;
638 635
639 DISALLOW_COPY_AND_ASSIGN(IsolateRunStateManager); 636 DISALLOW_COPY_AND_ASSIGN(IsolateRunStateManager);
640 }; 637 };
641 638
642 } // namespace dart 639 } // namespace dart
643 640
644 #endif // VM_ISOLATE_H_ 641 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/hash_set.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698