hotspot/src/share/vm/runtime/arguments.cpp
changeset 24014 b4a5c7518203
parent 24013 1d16b0f1060d
parent 23868 ac74f81a5157
child 24426 0a69c8cdfca9
child 24322 c2978d1578e3
equal deleted inserted replaced
24013:1d16b0f1060d 24014:b4a5c7518203
   305 #ifdef PRODUCT
   305 #ifdef PRODUCT
   306   { "DesiredMethodLimit",
   306   { "DesiredMethodLimit",
   307                            JDK_Version::jdk_update(7, 2), JDK_Version::jdk(8) },
   307                            JDK_Version::jdk_update(7, 2), JDK_Version::jdk(8) },
   308 #endif // PRODUCT
   308 #endif // PRODUCT
   309   { "UseVMInterruptibleIO",          JDK_Version::jdk(8), JDK_Version::jdk(9) },
   309   { "UseVMInterruptibleIO",          JDK_Version::jdk(8), JDK_Version::jdk(9) },
       
   310   { "UseBoundThreads",               JDK_Version::jdk(9), JDK_Version::jdk(10) },
       
   311   { "DefaultThreadPriority",         JDK_Version::jdk(9), JDK_Version::jdk(10) },
       
   312   { "NoYieldsInMicrolock",           JDK_Version::jdk(9), JDK_Version::jdk(10) },
   310   { NULL, JDK_Version(0), JDK_Version(0) }
   313   { NULL, JDK_Version(0), JDK_Version(0) }
   311 };
   314 };
   312 
   315 
   313 // Returns true if the flag is obsolete and fits into the range specified
   316 // Returns true if the flag is obsolete and fits into the range specified
   314 // for being ignored.  In the case that the flag is ignored, the 'version'
   317 // for being ignored.  In the case that the flag is ignored, the 'version'
  2075   // Method for adding checks for flag consistency.
  2078   // Method for adding checks for flag consistency.
  2076   // The intent is to warn the user of all possible conflicts,
  2079   // The intent is to warn the user of all possible conflicts,
  2077   // before returning an error.
  2080   // before returning an error.
  2078   // Note: Needs platform-dependent factoring.
  2081   // Note: Needs platform-dependent factoring.
  2079   bool status = true;
  2082   bool status = true;
  2080 
       
  2081   // Allow both -XX:-UseStackBanging and -XX:-UseBoundThreads in non-product
       
  2082   // builds so the cost of stack banging can be measured.
       
  2083 #if (defined(PRODUCT) && defined(SOLARIS))
       
  2084   if (!UseBoundThreads && !UseStackBanging) {
       
  2085     jio_fprintf(defaultStream::error_stream(),
       
  2086                 "-UseStackBanging conflicts with -UseBoundThreads\n");
       
  2087 
       
  2088      status = false;
       
  2089   }
       
  2090 #endif
       
  2091 
  2083 
  2092   if (TLABRefillWasteFraction == 0) {
  2084   if (TLABRefillWasteFraction == 0) {
  2093     jio_fprintf(defaultStream::error_stream(),
  2085     jio_fprintf(defaultStream::error_stream(),
  2094                 "TLABRefillWasteFraction should be a denominator, "
  2086                 "TLABRefillWasteFraction should be a denominator, "
  2095                 "not " SIZE_FORMAT "\n",
  2087                 "not " SIZE_FORMAT "\n",