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

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

Issue 928833003: Add Function based profile tree (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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/instructions_x64.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 "vm/base_isolate.h" 10 #include "vm/base_isolate.h"
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 void set_default_tag(const UserTag& tag); 609 void set_default_tag(const UserTag& tag);
610 610
611 Metric* metrics_list_head() { 611 Metric* metrics_list_head() {
612 return metrics_list_head_; 612 return metrics_list_head_;
613 } 613 }
614 614
615 void set_metrics_list_head(Metric* metric) { 615 void set_metrics_list_head(Metric* metric) {
616 metrics_list_head_ = metric; 616 metrics_list_head_ = metric;
617 } 617 }
618 618
619 RawGrowableObjectArray* deoptimized_code_array() const {
620 return deoptimized_code_array_;
621 }
622 void set_deoptimized_code_array(const GrowableObjectArray& value);
623 void TrackDeoptimizedCode(const Code& code);
624
619 #if defined(DEBUG) 625 #if defined(DEBUG)
620 #define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \ 626 #define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \
621 void set_reusable_##object##_handle_scope_active(bool value) { \ 627 void set_reusable_##object##_handle_scope_active(bool value) { \
622 reusable_##object##_handle_scope_active_ = value; \ 628 reusable_##object##_handle_scope_active_ = value; \
623 } \ 629 } \
624 bool reusable_##object##_handle_scope_active() const { \ 630 bool reusable_##object##_handle_scope_active() const { \
625 return reusable_##object##_handle_scope_active_; \ 631 return reusable_##object##_handle_scope_active_; \
626 } 632 }
627 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_ACCESSORS) 633 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_ACCESSORS)
628 #undef REUSABLE_HANDLE_SCOPE_ACCESSORS 634 #undef REUSABLE_HANDLE_SCOPE_ACCESSORS
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 728
723 IsolateProfilerData* profiler_data_; 729 IsolateProfilerData* profiler_data_;
724 Mutex profiler_data_mutex_; 730 Mutex profiler_data_mutex_;
725 InterruptableThreadState* thread_state_; 731 InterruptableThreadState* thread_state_;
726 732
727 VMTagCounters vm_tag_counters_; 733 VMTagCounters vm_tag_counters_;
728 uword user_tag_; 734 uword user_tag_;
729 RawGrowableObjectArray* tag_table_; 735 RawGrowableObjectArray* tag_table_;
730 RawUserTag* current_tag_; 736 RawUserTag* current_tag_;
731 RawUserTag* default_tag_; 737 RawUserTag* default_tag_;
738 RawGrowableObjectArray* deoptimized_code_array_;
732 739
733 Metric* metrics_list_head_; 740 Metric* metrics_list_head_;
734 741
735 Counters counters_; 742 Counters counters_;
736 743
737 // Isolate list next pointer. 744 // Isolate list next pointer.
738 Isolate* next_; 745 Isolate* next_;
739 746
740 // Reusable handles support. 747 // Reusable handles support.
741 #define REUSABLE_HANDLE_FIELDS(object) \ 748 #define REUSABLE_HANDLE_FIELDS(object) \
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 uint8_t* serialized_args_; 908 uint8_t* serialized_args_;
902 intptr_t serialized_args_len_; 909 intptr_t serialized_args_len_;
903 uint8_t* serialized_message_; 910 uint8_t* serialized_message_;
904 intptr_t serialized_message_len_; 911 intptr_t serialized_message_len_;
905 bool paused_; 912 bool paused_;
906 }; 913 };
907 914
908 } // namespace dart 915 } // namespace dart
909 916
910 #endif // VM_ISOLATE_H_ 917 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/instructions_x64.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698