< prev index next >

src/hotspot/share/runtime/arguments.cpp

Print this page
*** 4107,10 ***
--- 4107,18 ---
    if (FLAG_IS_CMDLINE(DiagnoseSyncOnValueBasedClasses)) {
      if (DiagnoseSyncOnValueBasedClasses == ObjectSynchronizer::LOG_WARNING && !log_is_enabled(Info, valuebasedclasses)) {
        LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(valuebasedclasses));
      }
    }
+ 
+ #ifdef _LP64
+   if (!FLAG_IS_DEFAULT(UseCompressedClassPointers) && !UseCompressedClassPointers) {
+     warning("Compressed class pointers are required with Lilliput build; ignoring UsCompressedClassPointers flag.");
+   }
+   UseCompressedClassPointers = true;
+ #endif
+ 
    return JNI_OK;
  }
  
  jint Arguments::adjust_after_os() {
    if (UseNUMA) {
< prev index next >