src/share/vm/runtime/compilationPolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/compilationPolicy.cpp	Mon Oct 21 11:47:07 2013
--- new/src/share/vm/runtime/compilationPolicy.cpp	Mon Oct 21 11:47:07 2013

*** 197,206 **** --- 197,211 ---- // - if only COMPILER1 is defined (client build), zero should be returned for // the c2 level. // - if neither is defined - always return zero. int NonTieredCompPolicy::compiler_count(CompLevel comp_level) { assert(!TieredCompilation, "This policy should not be used with TieredCompilation"); + // No need for compiler threads if the VM is started with -Xint + if (Arguments::mode() == Arguments::_int) { + return 0; + } + #ifdef COMPILER2 if (is_c2_compile(comp_level)) { return _compiler_count; } else { return 0;

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