summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-05-17 10:37:36 +0200
committer VladimĂ­r Marko <vmarko@google.com> 2024-06-20 16:19:04 +0000
commit05a5ff2a4152571e8e82ba4c407cf0fba0a57ddd (patch)
tree734fecaae333684a016f0a29be400fd32b9f87c2 /runtime/class_linker.cc
parent9e9f99747ad3bdb06be114263c732c39fba9a692 (diff)
Move some classes from `runtime/` to `dex2oat/`.
Move the transactional interpreter, `AotClassLinker`, `Transaction` and `SdkChecker`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: If001e06711ee345ce5b937ed764e66b26a0abcd6
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r--runtime/class_linker.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 72e4d14789..ca1ab1d8d6 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -155,7 +155,6 @@
#include "thread.h"
#include "thread_list.h"
#include "trace.h"
-#include "transaction.h"
#include "vdex_file.h"
#include "verifier/class_verifier.h"
#include "verifier/verifier_deps.h"
@@ -11341,6 +11340,12 @@ void ClassLinker::VisitTransactionRoots([[maybe_unused]] RootVisitor* visitor) {
// Nothing to do for normal `ClassLinker`, only `AotClassLinker` handles transactions.
}
+const void* ClassLinker::GetTransactionalInterpreter() {
+ // Should not be called on ClassLinker, only on AotClassLinker that overrides this.
+ LOG(FATAL) << "UNREACHABLE";
+ UNREACHABLE();
+}
+
void ClassLinker::RemoveDexFromCaches(const DexFile& dex_file) {
ReaderMutexLock mu(Thread::Current(), *Locks::dex_lock_);