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

Side by Side Diff: runtime/vm/thread.cc

Issue 2579413002: Revert "Save and restore feedback from JIT." (Closed)
Patch Set: Created 4 years 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/thread.h ('k') | runtime/vm/version.h » ('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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 #include "vm/thread.h" 5 #include "vm/thread.h"
6 6
7 #include "vm/compiler_stats.h" 7 #include "vm/compiler_stats.h"
8 #include "vm/dart_api_state.h" 8 #include "vm/dart_api_state.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 #include "vm/isolate.h" 10 #include "vm/isolate.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 no_handle_scope_depth_(0), 84 no_handle_scope_depth_(0),
85 no_safepoint_scope_depth_(0), 85 no_safepoint_scope_depth_(0),
86 #endif 86 #endif
87 reusable_handles_(), 87 reusable_handles_(),
88 saved_stack_limit_(0), 88 saved_stack_limit_(0),
89 defer_oob_messages_count_(0), 89 defer_oob_messages_count_(0),
90 deferred_interrupts_mask_(0), 90 deferred_interrupts_mask_(0),
91 deferred_interrupts_(0), 91 deferred_interrupts_(0),
92 stack_overflow_count_(0), 92 stack_overflow_count_(0),
93 cha_(NULL), 93 cha_(NULL),
94 type_range_cache_(NULL),
94 deopt_id_(0), 95 deopt_id_(0),
95 pending_functions_(GrowableObjectArray::null()), 96 pending_functions_(GrowableObjectArray::null()),
96 active_exception_(Object::null()), 97 active_exception_(Object::null()),
97 active_stacktrace_(Object::null()), 98 active_stacktrace_(Object::null()),
98 resume_pc_(0), 99 resume_pc_(0),
99 sticky_error_(Error::null()), 100 sticky_error_(Error::null()),
100 compiler_stats_(NULL), 101 compiler_stats_(NULL),
101 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_INITIALIZERS) 102 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_INITIALIZERS)
102 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_INIT) safepoint_state_(0), 103 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_INIT) safepoint_state_(0),
103 execution_state_(kThreadInNative), 104 execution_state_(kThreadInNative),
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 816
816 DisableThreadInterruptsScope::~DisableThreadInterruptsScope() { 817 DisableThreadInterruptsScope::~DisableThreadInterruptsScope() {
817 if (thread() != NULL) { 818 if (thread() != NULL) {
818 OSThread* os_thread = thread()->os_thread(); 819 OSThread* os_thread = thread()->os_thread();
819 ASSERT(os_thread != NULL); 820 ASSERT(os_thread != NULL);
820 os_thread->EnableThreadInterrupts(); 821 os_thread->EnableThreadInterrupts();
821 } 822 }
822 } 823 }
823 824
824 } // namespace dart 825 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/thread.h ('k') | runtime/vm/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698