< prev index next >

src/hotspot/share/compiler/compilerDefinitions.cpp

Print this page
rev 54117 : AArch64: 64-bit Literal Oops

@@ -372,10 +372,18 @@
   } else {
 #if INCLUDE_JVMCI
     status = status && JVMCIGlobals::check_jvmci_flags_are_consistent();
 #endif
   }
+
+#if INCLUDE_JVMCI && defined(AARCH64)
+  if (Use64BitLiteralAddresses && EnableJVMCI) {
+    warning("64-bit Literal Addresses disabled due to EnableJVMCI.");
+    FLAG_SET_CMDLINE(bool, Use64BitLiteralAddresses, false);
+  }
+#endif
+
   return status;
 }
 
 void CompilerConfig::ergo_initialize() {
   if (Arguments::is_interpreter_only()) {
< prev index next >