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

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

Issue 2466593003: Remove some dead fields from Isolate. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | 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 RUNTIME_VM_ISOLATE_H_ 5 #ifndef RUNTIME_VM_ISOLATE_H_
6 #define RUNTIME_VM_ISOLATE_H_ 6 #define RUNTIME_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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 728
729 // Accessed from generated code: 729 // Accessed from generated code:
730 StoreBuffer* store_buffer_; 730 StoreBuffer* store_buffer_;
731 Heap* heap_; 731 Heap* heap_;
732 uword user_tag_; 732 uword user_tag_;
733 RawUserTag* current_tag_; 733 RawUserTag* current_tag_;
734 RawUserTag* default_tag_; 734 RawUserTag* default_tag_;
735 RawCode* ic_miss_code_; 735 RawCode* ic_miss_code_;
736 ClassTable class_table_; 736 ClassTable class_table_;
737 bool single_step_; 737 bool single_step_;
738 bool skip_step_; // skip the next single step.
739 738
740 ThreadRegistry* thread_registry_; 739 ThreadRegistry* thread_registry_;
741 SafepointHandler* safepoint_handler_; 740 SafepointHandler* safepoint_handler_;
742 Dart_MessageNotifyCallback message_notify_callback_; 741 Dart_MessageNotifyCallback message_notify_callback_;
743 char* name_; 742 char* name_;
744 char* debugger_name_; 743 char* debugger_name_;
745 int64_t start_time_; 744 int64_t start_time_;
746 Dart_Port main_port_; 745 Dart_Port main_port_;
747 Dart_Port origin_id_; // Isolates created by spawnFunc have some origin id. 746 Dart_Port origin_id_; // Isolates created by spawnFunc have some origin id.
748 uint64_t pause_capability_; 747 uint64_t pause_capability_;
749 uint64_t terminate_capability_; 748 uint64_t terminate_capability_;
750 bool errors_fatal_; 749 bool errors_fatal_;
751 ObjectStore* object_store_; 750 ObjectStore* object_store_;
752 uword top_exit_frame_info_;
753 void* init_callback_data_; 751 void* init_callback_data_;
754 Dart_EnvironmentCallback environment_callback_; 752 Dart_EnvironmentCallback environment_callback_;
755 Dart_LibraryTagHandler library_tag_handler_; 753 Dart_LibraryTagHandler library_tag_handler_;
756 ApiState* api_state_; 754 ApiState* api_state_;
757 Debugger* debugger_; 755 Debugger* debugger_;
758 bool resume_request_; 756 bool resume_request_;
759 int64_t last_resume_timestamp_; 757 int64_t last_resume_timestamp_;
760 bool has_compiled_code_; // Can check that no compilation occured. 758 bool has_compiled_code_; // Can check that no compilation occured.
761 Random random_; 759 Random random_;
762 Simulator* simulator_; 760 Simulator* simulator_;
(...skipping 14 matching lines...) Expand all
777 bool is_service_isolate_; 775 bool is_service_isolate_;
778 776
779 // Isolate-specific flags. 777 // Isolate-specific flags.
780 NOT_IN_PRODUCT( 778 NOT_IN_PRODUCT(
781 bool type_checks_; 779 bool type_checks_;
782 bool asserts_; 780 bool asserts_;
783 bool error_on_bad_type_; 781 bool error_on_bad_type_;
784 bool error_on_bad_override_; 782 bool error_on_bad_override_;
785 ) 783 )
786 784
787 // Status support.
788 char* stacktrace_;
789 intptr_t stack_frame_index_;
790
791 // Timestamps of last operation via service. 785 // Timestamps of last operation via service.
792 int64_t last_allocationprofile_accumulator_reset_timestamp_; 786 int64_t last_allocationprofile_accumulator_reset_timestamp_;
793 int64_t last_allocationprofile_gc_timestamp_; 787 int64_t last_allocationprofile_gc_timestamp_;
794 788
795 // Ring buffer of objects assigned an id. 789 // Ring buffer of objects assigned an id.
796 ObjectIdRing* object_id_ring_; 790 ObjectIdRing* object_id_ring_;
797 791
798 VMTagCounters vm_tag_counters_; 792 VMTagCounters vm_tag_counters_;
799 RawGrowableObjectArray* tag_table_; 793 RawGrowableObjectArray* tag_table_;
800 794
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 intptr_t* spawn_count_; 1017 intptr_t* spawn_count_;
1024 1018
1025 Dart_IsolateFlags isolate_flags_; 1019 Dart_IsolateFlags isolate_flags_;
1026 bool paused_; 1020 bool paused_;
1027 bool errors_are_fatal_; 1021 bool errors_are_fatal_;
1028 }; 1022 };
1029 1023
1030 } // namespace dart 1024 } // namespace dart
1031 1025
1032 #endif // RUNTIME_VM_ISOLATE_H_ 1026 #endif // RUNTIME_VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698