RFR: JDK-8275865: Print deoptimization statistics in product builds [v3]

Tobias Hartmann thartmann at openjdk.java.net
Thu Oct 28 10:45:12 UTC 2021

On Thu, 28 Oct 2021 10:31:42 GMT, Volker Simonis <simonis at openjdk.org> wrote:

>> Deoptimization statistics are already gathered in product builds but for some (probably historical) reasons aren't printed to the VM/Compiler log. These statics can be useful when analyzing the reasons for deoptimization and frequent recompilations.
>> Because the statistics are already collected anyway, printing them at VM-exit if either `-XX:+LogCompilation` or `-XX:+LogVMOutput` are set won't introduce any runtime overhead.
> Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:
>   Simplified preprocessor condition and fixed indentation in test

Looks good.


Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6103

More information about the hotspot-runtime-dev mailing list