hotspot/src/share/vm/runtime/arguments.cpp
changeset 23443 15e8ed68f73a
parent 23184 060625af5ce9
child 23445 f01f43f477a1
equal deleted inserted replaced
23442:be6bd2c1f2a8 23443:15e8ed68f73a
   303   { "UseOldInlining",                JDK_Version::jdk(9), JDK_Version::jdk(10) },
   303   { "UseOldInlining",                JDK_Version::jdk(9), JDK_Version::jdk(10) },
   304 #ifdef PRODUCT
   304 #ifdef PRODUCT
   305   { "DesiredMethodLimit",
   305   { "DesiredMethodLimit",
   306                            JDK_Version::jdk_update(7, 2), JDK_Version::jdk(8) },
   306                            JDK_Version::jdk_update(7, 2), JDK_Version::jdk(8) },
   307 #endif // PRODUCT
   307 #endif // PRODUCT
       
   308   { "UseVMInterruptibleIO",          JDK_Version::jdk(8), JDK_Version::jdk(9) },
   308   { NULL, JDK_Version(0), JDK_Version(0) }
   309   { NULL, JDK_Version(0), JDK_Version(0) }
   309 };
   310 };
   310 
   311 
   311 // Returns true if the flag is obsolete and fits into the range specified
   312 // Returns true if the flag is obsolete and fits into the range specified
   312 // for being ignored.  In the case that the flag is ignored, the 'version'
   313 // for being ignored.  In the case that the flag is ignored, the 'version'
  3222                     option->optionString);
  3223                     option->optionString);
  3223         describe_range_error(errcode);
  3224         describe_range_error(errcode);
  3224         return JNI_EINVAL;
  3225         return JNI_EINVAL;
  3225       }
  3226       }
  3226       FLAG_SET_CMDLINE(uintx, MaxDirectMemorySize, max_direct_memory_size);
  3227       FLAG_SET_CMDLINE(uintx, MaxDirectMemorySize, max_direct_memory_size);
  3227     } else if (match_option(option, "-XX:+UseVMInterruptibleIO", &tail)) {
       
  3228       // NOTE! In JDK 9, the UseVMInterruptibleIO flag will completely go
       
  3229       //       away and will cause VM initialization failures!
       
  3230       warning("-XX:+UseVMInterruptibleIO is obsolete and will be removed in a future release.");
       
  3231       FLAG_SET_CMDLINE(bool, UseVMInterruptibleIO, true);
       
  3232 #if !INCLUDE_MANAGEMENT
  3228 #if !INCLUDE_MANAGEMENT
  3233     } else if (match_option(option, "-XX:+ManagementServer", &tail)) {
  3229     } else if (match_option(option, "-XX:+ManagementServer", &tail)) {
  3234         jio_fprintf(defaultStream::error_stream(),
  3230         jio_fprintf(defaultStream::error_stream(),
  3235           "ManagementServer is not supported in this VM.\n");
  3231           "ManagementServer is not supported in this VM.\n");
  3236         return JNI_ERR;
  3232         return JNI_ERR;