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

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

Issue 1402383003: Simplify timeline backend (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
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/atomic.h" 10 #include "vm/atomic.h"
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 static void InitOnce(); 703 static void InitOnce();
704 static Isolate* Init(const char* name_prefix, 704 static Isolate* Init(const char* name_prefix,
705 const Dart_IsolateFlags& api_flags, 705 const Dart_IsolateFlags& api_flags,
706 bool is_vm_isolate = false); 706 bool is_vm_isolate = false);
707 707
708 // The isolates_list_monitor_ should be held when calling Kill(). 708 // The isolates_list_monitor_ should be held when calling Kill().
709 void KillLocked(LibMsgId msg_id); 709 void KillLocked(LibMsgId msg_id);
710 710
711 void LowLevelShutdown(); 711 void LowLevelShutdown();
712 void Shutdown(); 712 void Shutdown();
713 void ReclaimTimelineBlocks();
714 713
715 void BuildName(const char* name_prefix); 714 void BuildName(const char* name_prefix);
716 void PrintInvokedFunctions(); 715 void PrintInvokedFunctions();
717 716
718 void ProfileIdle(); 717 void ProfileIdle();
719 718
720 // Visit all object pointers. Caller must ensure concurrent sweeper is not 719 // Visit all object pointers. Caller must ensure concurrent sweeper is not
721 // running, and the visitor must not allocate. 720 // running, and the visitor must not allocate.
722 void VisitObjectPointers(ObjectPointerVisitor* visitor, 721 void VisitObjectPointers(ObjectPointerVisitor* visitor,
723 bool visit_prologue_weak_persistent_handles, 722 bool visit_prologue_weak_persistent_handles,
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 uint8_t* serialized_message_; 1045 uint8_t* serialized_message_;
1047 intptr_t serialized_message_len_; 1046 intptr_t serialized_message_len_;
1048 Isolate::Flags isolate_flags_; 1047 Isolate::Flags isolate_flags_;
1049 bool paused_; 1048 bool paused_;
1050 bool errors_are_fatal_; 1049 bool errors_are_fatal_;
1051 }; 1050 };
1052 1051
1053 } // namespace dart 1052 } // namespace dart
1054 1053
1055 #endif // VM_ISOLATE_H_ 1054 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/timeline.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698