src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp

src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp

Print this page
rev 8835 : 8132525: java -client -XX:+TieredCompilation -XX:CICompilerCount=1 -version asserts since 8130858
Summary: TieredCompilation not validated when CICompilerCount is processed
Reviewed-by:

*** 69,79 **** min_number_of_compiler_threads = 2; // case 4 (tiered) } #endif // The default CICompilerCount's value is CI_COMPILER_COUNT. ! assert(min_number_of_compiler_threads <= CI_COMPILER_COUNT, "minimum should be less or equal default number"); if (*value < (intx)min_number_of_compiler_threads) { if (verbose == true) { jio_fprintf(defaultStream::error_stream(), "CICompilerCount=" INTX_FORMAT " must be at least %d \n", --- 69,82 ---- min_number_of_compiler_threads = 2; // case 4 (tiered) } #endif // The default CICompilerCount's value is CI_COMPILER_COUNT. ! // With a client VM, -XX:+TieredCompilation causes TieredCompilation ! // to be true here (the option is validated later) and ! // min_number_of_compiler_threads to exceed CI_COMPILER_COUNT. ! min_number_of_compiler_threads = MIN2(min_number_of_compiler_threads, CI_COMPILER_COUNT); if (*value < (intx)min_number_of_compiler_threads) { if (verbose == true) { jio_fprintf(defaultStream::error_stream(), "CICompilerCount=" INTX_FORMAT " must be at least %d \n",
src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File