| 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 "vm/atomic.h" | 10 #include "vm/atomic.h" |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 bool asserts() const { return asserts_; } | 624 bool asserts() const { return asserts_; } |
| 625 bool error_on_bad_type() const { return error_on_bad_type_; } | 625 bool error_on_bad_type() const { return error_on_bad_type_; } |
| 626 bool error_on_bad_override() const { return error_on_bad_override_; } | 626 bool error_on_bad_override() const { return error_on_bad_override_; } |
| 627 #endif // defined(PRODUCT) | 627 #endif // defined(PRODUCT) |
| 628 | 628 |
| 629 static void KillAllIsolates(LibMsgId msg_id); | 629 static void KillAllIsolates(LibMsgId msg_id); |
| 630 static void KillIfExists(Isolate* isolate, LibMsgId msg_id); | 630 static void KillIfExists(Isolate* isolate, LibMsgId msg_id); |
| 631 | 631 |
| 632 static void DisableIsolateCreation(); | 632 static void DisableIsolateCreation(); |
| 633 static void EnableIsolateCreation(); | 633 static void EnableIsolateCreation(); |
| 634 static bool IsolateCreationEnabled(); |
| 634 | 635 |
| 635 void StopBackgroundCompiler(); | 636 void StopBackgroundCompiler(); |
| 636 | 637 |
| 637 intptr_t reload_every_n_stack_overflow_checks() const { | 638 intptr_t reload_every_n_stack_overflow_checks() const { |
| 638 return reload_every_n_stack_overflow_checks_; | 639 return reload_every_n_stack_overflow_checks_; |
| 639 } | 640 } |
| 640 | 641 |
| 641 void MaybeIncreaseReloadEveryNStackOverflowChecks(); | 642 void MaybeIncreaseReloadEveryNStackOverflowChecks(); |
| 642 | 643 |
| 643 private: | 644 private: |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 intptr_t* spawn_count_; | 990 intptr_t* spawn_count_; |
| 990 | 991 |
| 991 Dart_IsolateFlags isolate_flags_; | 992 Dart_IsolateFlags isolate_flags_; |
| 992 bool paused_; | 993 bool paused_; |
| 993 bool errors_are_fatal_; | 994 bool errors_are_fatal_; |
| 994 }; | 995 }; |
| 995 | 996 |
| 996 } // namespace dart | 997 } // namespace dart |
| 997 | 998 |
| 998 #endif // VM_ISOLATE_H_ | 999 #endif // VM_ISOLATE_H_ |
| OLD | NEW |