summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-01-07 10:59:54 +0000
committer Vladimir Marko <vmarko@google.com> 2021-01-11 13:53:33 +0000
commit83881483515aec1dfaa0c848f1ce876c3f966b43 (patch)
tree01bfa31dbdef146ec88505378e4829f133a5ab91 /runtime/common_runtime_test.cc
parent7d4a71ee0ecab7bf65086c786fb5358444dd2a8f (diff)
Rewrite method matching in UnstartedRuntime.
Use the `ArtMethod*` as the key in the maps to avoid the `PrettyMethod()` overhead. Remove ByteOrder.isLittleEndian() implementation from UnstartedRuntime. The Java method has been removed by https://android-review.googlesource.com/151062 . Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: boots. Bug: 175869411 Change-Id: I97cf91a0abf2b28f83562d8764d28edafa1a09e2
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r--runtime/common_runtime_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc
index 16f0d5868b..45095732be 100644
--- a/runtime/common_runtime_test.cc
+++ b/runtime/common_runtime_test.cc
@@ -142,6 +142,8 @@ void CommonRuntimeTestImpl::FinalizeSetup() {
if (!unstarted_initialized_) {
interpreter::UnstartedRuntime::Initialize();
unstarted_initialized_ = true;
+ } else {
+ interpreter::UnstartedRuntime::Reinitialize();
}
{