summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
author Almaz Mingaleev <mingaleev@google.com> 2023-10-09 07:45:11 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-10-09 09:02:30 +0000
commitf65f31271e08cea50296f7d5cfbd373b7159b025 (patch)
tree897ab5441ca1457b4f293999683a0a6c034906ff /runtime/class_linker.cc
parent702803d20dca1e3aea157cc1a1a38751e6b5e5c2 (diff)
Revert^3 "Use the same cache for MethodType-s created in...
Revert submission 2768053-reland-methodtype-caching Reason for revert: another circular dependency - CHM->ThreadLocalRandom->ThreadLocal->AtomicInteger::getAndAdd Reverted changes: /q/submissionid:2768053-reland-methodtype-caching Change-Id: Ifc6d759271d819c165c12d47280e6542033a1913
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r--runtime/class_linker.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 2c22a906da..5489c0af6d 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -1191,9 +1191,8 @@ void ClassLinker::RunRootClinits(Thread* self) {
WellKnownClasses::java_lang_reflect_InvocationTargetException_init,
// Ensure `Parameter` class is initialized (avoid check at runtime).
WellKnownClasses::java_lang_reflect_Parameter_init,
- // Ensure `MethodHandles` and `MethodType` classes are initialized (avoid check at runtime).
+ // Ensure `MethodHandles` class is initialized (avoid check at runtime).
WellKnownClasses::java_lang_invoke_MethodHandles_lookup,
- WellKnownClasses::java_lang_invoke_MethodType_makeImpl,
// Ensure `DirectByteBuffer` class is initialized (avoid check at runtime).
WellKnownClasses::java_nio_DirectByteBuffer_init,
// Ensure `FloatingDecimal` class is initialized (avoid check at runtime).