| 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 602 |
| 603 RawGrowableObjectArray* tag_table() const { return tag_table_; } | 603 RawGrowableObjectArray* tag_table() const { return tag_table_; } |
| 604 void set_tag_table(const GrowableObjectArray& value); | 604 void set_tag_table(const GrowableObjectArray& value); |
| 605 | 605 |
| 606 RawUserTag* current_tag() const { return current_tag_; } | 606 RawUserTag* current_tag() const { return current_tag_; } |
| 607 void set_current_tag(const UserTag& tag); | 607 void set_current_tag(const UserTag& tag); |
| 608 | 608 |
| 609 RawUserTag* default_tag() const { return default_tag_; } | 609 RawUserTag* default_tag() const { return default_tag_; } |
| 610 void set_default_tag(const UserTag& tag); | 610 void set_default_tag(const UserTag& tag); |
| 611 | 611 |
| 612 RawGrowableObjectArray* compilation_function_queue() const { | |
| 613 return compilation_function_queue_; | |
| 614 } | |
| 615 void set_compilation_function_queue(const GrowableObjectArray& value); | |
| 616 | |
| 617 RawGrowableObjectArray* compilation_result_queue() const { | |
| 618 return compilation_result_queue_; | |
| 619 } | |
| 620 void set_compilation_result_queue(const GrowableObjectArray& value); | |
| 621 | |
| 622 Metric* metrics_list_head() { | 612 Metric* metrics_list_head() { |
| 623 return metrics_list_head_; | 613 return metrics_list_head_; |
| 624 } | 614 } |
| 625 | 615 |
| 626 void set_metrics_list_head(Metric* metric) { | 616 void set_metrics_list_head(Metric* metric) { |
| 627 metrics_list_head_ = metric; | 617 metrics_list_head_ = metric; |
| 628 } | 618 } |
| 629 | 619 |
| 630 RawGrowableObjectArray* deoptimized_code_array() const { | 620 RawGrowableObjectArray* deoptimized_code_array() const { |
| 631 return deoptimized_code_array_; | 621 return deoptimized_code_array_; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 IsolateProfilerData* profiler_data_; | 799 IsolateProfilerData* profiler_data_; |
| 810 Mutex profiler_data_mutex_; | 800 Mutex profiler_data_mutex_; |
| 811 | 801 |
| 812 VMTagCounters vm_tag_counters_; | 802 VMTagCounters vm_tag_counters_; |
| 813 RawGrowableObjectArray* tag_table_; | 803 RawGrowableObjectArray* tag_table_; |
| 814 | 804 |
| 815 RawGrowableObjectArray* deoptimized_code_array_; | 805 RawGrowableObjectArray* deoptimized_code_array_; |
| 816 | 806 |
| 817 // Background compilation. | 807 // Background compilation. |
| 818 BackgroundCompiler* background_compiler_; | 808 BackgroundCompiler* background_compiler_; |
| 819 RawGrowableObjectArray* compilation_function_queue_; | |
| 820 RawGrowableObjectArray* compilation_result_queue_; | |
| 821 | 809 |
| 822 // We use 6 list entries for each pending service extension calls. | 810 // We use 6 list entries for each pending service extension calls. |
| 823 enum { | 811 enum { |
| 824 kPendingHandlerIndex = 0, | 812 kPendingHandlerIndex = 0, |
| 825 kPendingMethodNameIndex, | 813 kPendingMethodNameIndex, |
| 826 kPendingKeysIndex, | 814 kPendingKeysIndex, |
| 827 kPendingValuesIndex, | 815 kPendingValuesIndex, |
| 828 kPendingReplyPortIndex, | 816 kPendingReplyPortIndex, |
| 829 kPendingIdIndex, | 817 kPendingIdIndex, |
| 830 kPendingEntrySize | 818 kPendingEntrySize |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1043 uint8_t* serialized_message_; | 1031 uint8_t* serialized_message_; |
| 1044 intptr_t serialized_message_len_; | 1032 intptr_t serialized_message_len_; |
| 1045 Isolate::Flags isolate_flags_; | 1033 Isolate::Flags isolate_flags_; |
| 1046 bool paused_; | 1034 bool paused_; |
| 1047 bool errors_are_fatal_; | 1035 bool errors_are_fatal_; |
| 1048 }; | 1036 }; |
| 1049 | 1037 |
| 1050 } // namespace dart | 1038 } // namespace dart |
| 1051 | 1039 |
| 1052 #endif // VM_ISOLATE_H_ | 1040 #endif // VM_ISOLATE_H_ |
| OLD | NEW |