Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248398

Add diagnostic RepeatCompilation utility

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • None
    • b05

      To be able to stress test, benchmark and diagnose issues with specific compilations, it would be invaluable to have a diagnostic flag and compile command to repeat any or all JIT compilation an arbitrary but configurable number of times.

      -XX:CompileCommand=option,java.lang.String::hashCode,intx,RepeatCompilation,10000

      It doesn't matter much if the compiled code is installed on the first or last compilation, as long as the compilation itself is repeatable.

      To facilitate experiments on minimal "Hello World" style apps, the repeated compilation should honor -Xbatch and not shut down until the requested number of compilations has been performed.

            neliasso Nils Eliasson (Inactive)
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: