| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/class_table.h" | 10 #include "vm/class_table.h" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 } | 191 } |
| 192 | 192 |
| 193 private: | 193 private: |
| 194 Isolate(); | 194 Isolate(); |
| 195 | 195 |
| 196 void BuildName(const char* name_prefix); | 196 void BuildName(const char* name_prefix); |
| 197 void PrintInvokedFunctions(); | 197 void PrintInvokedFunctions(); |
| 198 | 198 |
| 199 static uword GetSpecifiedStackSize(); | 199 static uword GetSpecifiedStackSize(); |
| 200 | 200 |
| 201 static const intptr_t kStackSizeBuffer = (4 * KB); | 201 static const intptr_t kStackSizeBuffer = (16 * KB); |
| 202 | 202 |
| 203 static ThreadLocalKey isolate_key; | 203 static ThreadLocalKey isolate_key; |
| 204 StoreBufferBlock store_buffer_; | 204 StoreBufferBlock store_buffer_; |
| 205 ClassTable class_table_; | 205 ClassTable class_table_; |
| 206 Dart_MessageNotifyCallback message_notify_callback_; | 206 Dart_MessageNotifyCallback message_notify_callback_; |
| 207 char* name_; | 207 char* name_; |
| 208 Dart_Port main_port_; | 208 Dart_Port main_port_; |
| 209 Heap* heap_; | 209 Heap* heap_; |
| 210 ObjectStore* object_store_; | 210 ObjectStore* object_store_; |
| 211 RawContext* top_context_; | 211 RawContext* top_context_; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 Isolate* new_isolate_; | 295 Isolate* new_isolate_; |
| 296 Isolate* saved_isolate_; | 296 Isolate* saved_isolate_; |
| 297 uword saved_stack_limit_; | 297 uword saved_stack_limit_; |
| 298 | 298 |
| 299 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); | 299 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); |
| 300 }; | 300 }; |
| 301 | 301 |
| 302 } // namespace dart | 302 } // namespace dart |
| 303 | 303 |
| 304 #endif // VM_ISOLATE_H_ | 304 #endif // VM_ISOLATE_H_ |
| OLD | NEW |