diff options
| -rw-r--r-- | runtime/interpreter/interpreter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc index 47e2e98544..6b5218dff0 100644 --- a/runtime/interpreter/interpreter.cc +++ b/runtime/interpreter/interpreter.cc @@ -294,7 +294,7 @@ static inline JValue Execute(Thread* self, const DexFile::CodeItem* code_item, const instrumentation::Instrumentation* const instrumentation = Runtime::Current()->GetInstrumentation(); while (true) { - if (instrumentation->IsActive()) { + if (instrumentation->IsActive() || !Runtime::Current()->IsStarted()) { // TODO: allow JIT profiling instrumentation. Now, just punt on all instrumentation. #if !defined(__clang__) return ExecuteGotoImpl<false, false>(self, code_item, shadow_frame, result_register); |