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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 GcPrologueCallbacks gc_prologue_callbacks_; | 450 GcPrologueCallbacks gc_prologue_callbacks_; |
451 GcEpilogueCallbacks gc_epilogue_callbacks_; | 451 GcEpilogueCallbacks gc_epilogue_callbacks_; |
452 | 452 |
453 // Deoptimization support. | 453 // Deoptimization support. |
454 intptr_t* deopt_cpu_registers_copy_; | 454 intptr_t* deopt_cpu_registers_copy_; |
455 fpu_register_t* deopt_fpu_registers_copy_; | 455 fpu_register_t* deopt_fpu_registers_copy_; |
456 intptr_t* deopt_frame_copy_; | 456 intptr_t* deopt_frame_copy_; |
457 intptr_t deopt_frame_copy_size_; | 457 intptr_t deopt_frame_copy_size_; |
458 DeferredObject* deferred_objects_; | 458 DeferredObject* deferred_objects_; |
459 | 459 |
| 460 // Status support. |
| 461 const char* stacktrace_; |
| 462 static bool FetchStacktrace(); |
| 463 const char* GetStatusStacktrace(); |
| 464 |
460 static Dart_IsolateCreateCallback create_callback_; | 465 static Dart_IsolateCreateCallback create_callback_; |
461 static Dart_IsolateInterruptCallback interrupt_callback_; | 466 static Dart_IsolateInterruptCallback interrupt_callback_; |
462 static Dart_IsolateUnhandledExceptionCallback unhandled_exception_callback_; | 467 static Dart_IsolateUnhandledExceptionCallback unhandled_exception_callback_; |
463 static Dart_IsolateShutdownCallback shutdown_callback_; | 468 static Dart_IsolateShutdownCallback shutdown_callback_; |
464 static Dart_FileOpenCallback file_open_callback_; | 469 static Dart_FileOpenCallback file_open_callback_; |
465 static Dart_FileWriteCallback file_write_callback_; | 470 static Dart_FileWriteCallback file_write_callback_; |
466 static Dart_FileCloseCallback file_close_callback_; | 471 static Dart_FileCloseCallback file_close_callback_; |
467 | 472 |
468 DISALLOW_COPY_AND_ASSIGN(Isolate); | 473 DISALLOW_COPY_AND_ASSIGN(Isolate); |
469 }; | 474 }; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 Isolate* new_isolate_; | 533 Isolate* new_isolate_; |
529 Isolate* saved_isolate_; | 534 Isolate* saved_isolate_; |
530 uword saved_stack_limit_; | 535 uword saved_stack_limit_; |
531 | 536 |
532 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); | 537 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); |
533 }; | 538 }; |
534 | 539 |
535 } // namespace dart | 540 } // namespace dart |
536 | 541 |
537 #endif // VM_ISOLATE_H_ | 542 #endif // VM_ISOLATE_H_ |
OLD | NEW |