8058583: Remove CompilationRepeat

Remove product flag -XX:CompilationRepeat

Reviewed-by: kvn, iveresov
This commit is contained in:
Nils Eliasson 2014-09-18 08:47:07 +02:00
parent 964c442938
commit 99a2ef6914
2 changed files with 0 additions and 19 deletions

View File

@ -287,9 +287,6 @@
develop(bool, InstallMethods, true, \ develop(bool, InstallMethods, true, \
"Install methods at the end of successful compilations") \ "Install methods at the end of successful compilations") \
\ \
product(intx, CompilationRepeat, 0, \
"Number of times to recompile method before returning result") \
\
develop(intx, NMethodSizeLimit, (64*K)*wordSize, \ develop(intx, NMethodSizeLimit, (64*K)*wordSize, \
"Maximum size of a compiled method.") \ "Maximum size of a compiled method.") \
\ \

View File

@ -1779,22 +1779,6 @@ void CompileBroker::compiler_thread_loop() {
if (method()->number_of_breakpoints() == 0) { if (method()->number_of_breakpoints() == 0) {
// Compile the method. // Compile the method.
if ((UseCompiler || AlwaysCompileLoopMethods) && CompileBroker::should_compile_new_jobs()) { if ((UseCompiler || AlwaysCompileLoopMethods) && CompileBroker::should_compile_new_jobs()) {
#ifdef COMPILER1
// Allow repeating compilations for the purpose of benchmarking
// compile speed. This is not useful for customers.
if (CompilationRepeat != 0) {
int compile_count = CompilationRepeat;
while (compile_count > 0) {
invoke_compiler_on_method(task);
nmethod* nm = method->code();
if (nm != NULL) {
nm->make_zombie();
method->clear_code();
}
compile_count--;
}
}
#endif /* COMPILER1 */
invoke_compiler_on_method(task); invoke_compiler_on_method(task);
} else { } else {
// After compilation is disabled, remove remaining methods from queue // After compilation is disabled, remove remaining methods from queue