src/share/vm/compiler/compileBroker.cpp

changeset 7289
b9c94af14fd0
parent 7203
966205f0e717
child 7302
41dcdd636080
     1.1 --- a/src/share/vm/compiler/compileBroker.cpp	Wed Oct 01 12:34:38 2014 -0700
     1.2 +++ b/src/share/vm/compiler/compileBroker.cpp	Mon Oct 20 13:22:28 2014 +0200
     1.3 @@ -1781,22 +1781,6 @@
     1.4      if (method()->number_of_breakpoints() == 0) {
     1.5        // Compile the method.
     1.6        if ((UseCompiler || AlwaysCompileLoopMethods) && CompileBroker::should_compile_new_jobs()) {
     1.7 -#ifdef COMPILER1
     1.8 -        // Allow repeating compilations for the purpose of benchmarking
     1.9 -        // compile speed. This is not useful for customers.
    1.10 -        if (CompilationRepeat != 0) {
    1.11 -          int compile_count = CompilationRepeat;
    1.12 -          while (compile_count > 0) {
    1.13 -            invoke_compiler_on_method(task);
    1.14 -            nmethod* nm = method->code();
    1.15 -            if (nm != NULL) {
    1.16 -              nm->make_zombie();
    1.17 -              method->clear_code();
    1.18 -            }
    1.19 -            compile_count--;
    1.20 -          }
    1.21 -        }
    1.22 -#endif /* COMPILER1 */
    1.23          invoke_compiler_on_method(task);
    1.24        } else {
    1.25          // After compilation is disabled, remove remaining methods from queue

mercurial