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

Volker Simonis simonis at openjdk.java.net
Thu Oct 28 12:43:18 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.

This pull request has now been integrated.

Changeset: a343fa87
Author:    Volker Simonis <simonis at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a343fa8766bb12188881319f06b1d93161cf1619
Stats:     86 lines in 2 files changed: 84 ins; 2 del; 0 mod

8275865: Print deoptimization statistics in product builds

Reviewed-by: thartmann, kvn

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

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


More information about the hotspot-runtime-dev mailing list