summaryrefslogtreecommitdiff
path: root/runtime/native/dalvik_system_DexFile.cc
diff options
context:
space:
mode:
author Stefania Halac <shalac@google.com> 2020-02-14 17:58:26 +0000
committer Stefania Halac <shalac@google.com> 2020-02-14 19:36:44 +0000
commite9818ddd70565d52cc1cc93d6991d7e7ec2bc275 (patch)
treec2deb578605ebfa0511532b8d7ca908fa4c71092 /runtime/native/dalvik_system_DexFile.cc
parent1d852c36ad84e6f32132b215af079546300bfc28 (diff)
Revert "Make class loader context fail for unknown class loaders"
This reverts commit 2d3de3a40015af07f7645a298f77b398af0c6c2c. Reason for revert: 8s regression in boot time b/149517940 Change-Id: I81365d1bd63c691d715b8f970dac9da64ab419ff
Diffstat (limited to 'runtime/native/dalvik_system_DexFile.cc')
-rw-r--r--runtime/native/dalvik_system_DexFile.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/native/dalvik_system_DexFile.cc b/runtime/native/dalvik_system_DexFile.cc
index d2b5edf333..37a524b66d 100644
--- a/runtime/native/dalvik_system_DexFile.cc
+++ b/runtime/native/dalvik_system_DexFile.cc
@@ -576,12 +576,10 @@ static jint GetDexOptNeeded(JNIEnv* env,
return OatFileAssistant::kNoDexOptNeeded;
}
- std::vector<int> context_fds;
return oat_file_assistant.GetDexOptNeeded(filter,
- context.get(),
- context_fds,
profile_changed,
- downgrade);
+ downgrade,
+ context.get());
}
static jstring DexFile_getDexFileStatus(JNIEnv* env,