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

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

Issue 12578022: Added VM support for isolate stacktrace status. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: use AddEscapedString() Created 7 years, 8 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/exceptions.cc ('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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698