OpenJDK / jdk / jdk
changeset 26798:8bd1ac54be56
8058583: Remove CompilationRepeat
Summary: Remove product flag -XX:CompilationRepeat
Reviewed-by: kvn, iveresov
author | neliasso |
---|---|
date | Thu, 18 Sep 2014 08:47:07 +0200 |
parents | b89b8ffec1f0 |
children | ed8ab32a293d |
files | hotspot/src/share/vm/c1/c1_globals.hpp hotspot/src/share/vm/compiler/compileBroker.cpp |
diffstat | 2 files changed, 0 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/share/vm/c1/c1_globals.hpp Wed Sep 17 06:05:41 2014 +0000 +++ b/hotspot/src/share/vm/c1/c1_globals.hpp Thu Sep 18 08:47:07 2014 +0200 @@ -287,9 +287,6 @@ develop(bool, InstallMethods, true, \ "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, \ "Maximum size of a compiled method.") \ \
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp Wed Sep 17 06:05:41 2014 +0000 +++ b/hotspot/src/share/vm/compiler/compileBroker.cpp Thu Sep 18 08:47:07 2014 +0200 @@ -1779,22 +1779,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