diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp index ba5471b2eb1..561dd0c7782 100644 --- a/src/hotspot/share/runtime/arguments.cpp +++ b/src/hotspot/share/runtime/arguments.cpp @@ -1520,6 +1520,7 @@ void Arguments::set_use_compressed_oops() { // set_use_compressed_oops(). void Arguments::set_use_compressed_klass_ptrs() { #ifdef _LP64 + FLAG_SET_CMDLINE(UseCompressedClassPointers, false); // On some architectures, the use of UseCompressedClassPointers implies the use of // UseCompressedOops. The reason is that the rheap_base register of said platforms // is reused to perform some optimized spilling, in order to use rheap_base as a