diff options
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r-- | runtime/runtime.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index b6b7501010..c6d9bfdf25 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -986,7 +986,6 @@ void Runtime::InitNonZygoteOrPostFork( UnloadNativeBridge(); is_native_bridge_loaded_ = false; break; - case NativeBridgeAction::kInitialize: InitializeNativeBridge(env, isa); break; @@ -2965,4 +2964,8 @@ void Runtime::SetJniIdType(JniIdType t) { WellKnownClasses::HandleJniIdTypeChange(Thread::Current()->GetJniEnv()); } +bool Runtime::GetOatFilesExecutable() const { + return !IsAotCompiler() && !(IsSystemServer() && jit_options_->GetSaveProfilingInfo()); +} + } // namespace art |