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

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

Issue 1394673002: Move reusable handles from isolate to thread. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix release build 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
« no previous file with comments | « runtime/vm/object_graph.cc ('k') | runtime/vm/profiler.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_PROFILER_H_ 5 #ifndef VM_PROFILER_H_
6 #define VM_PROFILER_H_ 6 #define VM_PROFILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/bitfield.h" 9 #include "vm/bitfield.h"
10 #include "vm/code_observers.h" 10 #include "vm/code_observers.h"
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 bool truncated() const { return truncated_; } 498 bool truncated() const { return truncated_; }
499 void set_truncated(bool truncated) { truncated_ = truncated; } 499 void set_truncated(bool truncated) { truncated_ = truncated; }
500 500
501 // Was the first frame in the stack trace executing? 501 // Was the first frame in the stack trace executing?
502 bool first_frame_executing() const { return first_frame_executing_; } 502 bool first_frame_executing() const { return first_frame_executing_; }
503 void set_first_frame_executing(bool first_frame_executing) { 503 void set_first_frame_executing(bool first_frame_executing) {
504 first_frame_executing_ = first_frame_executing; 504 first_frame_executing_ = first_frame_executing;
505 } 505 }
506 506
507 private: 507 private:
508 void FixupCaller(Isolate* isolate, 508 void FixupCaller(Thread* thread,
509 Isolate* vm_isolate, 509 Isolate* vm_isolate,
510 uword pc_marker, 510 uword pc_marker,
511 uword* stack_buffer); 511 uword* stack_buffer);
512 512
513 void CheckForMissingDartFrame(Isolate* isolate, 513 void CheckForMissingDartFrame(Isolate* isolate,
514 Isolate* vm_isolate, 514 Isolate* vm_isolate,
515 const Code& code, 515 const Code& code,
516 uword pc_marker, 516 uword pc_marker,
517 uword* stack_buffer); 517 uword* stack_buffer);
518 518
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 556
557 private: 557 private:
558 ZoneGrowableArray<ProcessedSample*> samples_; 558 ZoneGrowableArray<ProcessedSample*> samples_;
559 559
560 DISALLOW_COPY_AND_ASSIGN(ProcessedSampleBuffer); 560 DISALLOW_COPY_AND_ASSIGN(ProcessedSampleBuffer);
561 }; 561 };
562 562
563 } // namespace dart 563 } // namespace dart
564 564
565 #endif // VM_PROFILER_H_ 565 #endif // VM_PROFILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_graph.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698