| OLD | NEW |
| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 deferred_doubles_ = NULL; | 337 deferred_doubles_ = NULL; |
| 338 return list; | 338 return list; |
| 339 } | 339 } |
| 340 | 340 |
| 341 DeferredMint* DetachDeferredMints() { | 341 DeferredMint* DetachDeferredMints() { |
| 342 DeferredMint* list = deferred_mints_; | 342 DeferredMint* list = deferred_mints_; |
| 343 deferred_mints_ = NULL; | 343 deferred_mints_ = NULL; |
| 344 return list; | 344 return list; |
| 345 } | 345 } |
| 346 | 346 |
| 347 static char* GetStatus(const char* request); |
| 348 |
| 347 private: | 349 private: |
| 348 Isolate(); | 350 Isolate(); |
| 349 | 351 |
| 350 void BuildName(const char* name_prefix); | 352 void BuildName(const char* name_prefix); |
| 351 void PrintInvokedFunctions(); | 353 void PrintInvokedFunctions(); |
| 352 | 354 |
| 353 static ThreadLocalKey isolate_key; | 355 static ThreadLocalKey isolate_key; |
| 354 StoreBufferBlock store_buffer_block_; | 356 StoreBufferBlock store_buffer_block_; |
| 355 StoreBuffer store_buffer_; | 357 StoreBuffer store_buffer_; |
| 356 ClassTable class_table_; | 358 ClassTable class_table_; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 Isolate* new_isolate_; | 462 Isolate* new_isolate_; |
| 461 Isolate* saved_isolate_; | 463 Isolate* saved_isolate_; |
| 462 uword saved_stack_limit_; | 464 uword saved_stack_limit_; |
| 463 | 465 |
| 464 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); | 466 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); |
| 465 }; | 467 }; |
| 466 | 468 |
| 467 } // namespace dart | 469 } // namespace dart |
| 468 | 470 |
| 469 #endif // VM_ISOLATE_H_ | 471 #endif // VM_ISOLATE_H_ |
| OLD | NEW |