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

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

Issue 1824883002: Don't take a stack trace if we are in the middle of a deoptimization (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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_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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 return shutdown_callback_; 365 return shutdown_callback_;
366 } 366 }
367 367
368 void set_object_id_ring(ObjectIdRing* ring) { 368 void set_object_id_ring(ObjectIdRing* ring) {
369 object_id_ring_ = ring; 369 object_id_ring_ = ring;
370 } 370 }
371 ObjectIdRing* object_id_ring() { 371 ObjectIdRing* object_id_ring() {
372 return object_id_ring_; 372 return object_id_ring_;
373 } 373 }
374 374
375 bool IsDeoptimizing() const { return deopt_context_ != NULL; }
375 DeoptContext* deopt_context() const { return deopt_context_; } 376 DeoptContext* deopt_context() const { return deopt_context_; }
376 void set_deopt_context(DeoptContext* value) { 377 void set_deopt_context(DeoptContext* value) {
377 ASSERT(value == NULL || deopt_context_ == NULL); 378 ASSERT(value == NULL || deopt_context_ == NULL);
378 deopt_context_ = value; 379 deopt_context_ = value;
379 } 380 }
380 381
381 BackgroundCompiler* background_compiler() const { 382 BackgroundCompiler* background_compiler() const {
382 return background_compiler_; 383 return background_compiler_;
383 } 384 }
384 void set_background_compiler(BackgroundCompiler* value) { 385 void set_background_compiler(BackgroundCompiler* value) {
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 intptr_t* spawn_count_; 903 intptr_t* spawn_count_;
903 904
904 Dart_IsolateFlags isolate_flags_; 905 Dart_IsolateFlags isolate_flags_;
905 bool paused_; 906 bool paused_;
906 bool errors_are_fatal_; 907 bool errors_are_fatal_;
907 }; 908 };
908 909
909 } // namespace dart 910 } // namespace dart
910 911
911 #endif // VM_ISOLATE_H_ 912 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698