RFR: JDK-8275865: Print deoptimization statistics in product builds

David Holmes dholmes at openjdk.java.net
Tue Oct 26 00:21:12 UTC 2021


On Mon, 25 Oct 2021 11:46:06 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.

I think the compiler folk need to be the ones to assess this change.

-------------

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


More information about the hotspot-compiler-dev mailing list