Mercurial > hg > graal-jvmci-8
diff src/share/vm/compiler/compileBroker.cpp @ 20575:b9c94af14fd0
8059445: Remove CompilationRepeat
Summary: Remove product flag -XX:CompilationRepeat
Reviewed-by: kvn, iveresov
author | neliasso |
---|---|
date | Mon, 20 Oct 2014 13:22:28 +0200 |
parents | 966205f0e717 |
children | 41dcdd636080 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Wed Oct 01 12:34:38 2014 -0700 +++ b/src/share/vm/compiler/compileBroker.cpp Mon Oct 20 13:22:28 2014 +0200 @@ -1781,22 +1781,6 @@ if (method()->number_of_breakpoints() == 0) { // Compile the method. 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); } else { // After compilation is disabled, remove remaining methods from queue