RFR: JDK-8275865: Print deoptimization statistics in product builds
simonis at openjdk.java.net
Mon Oct 25 11:53:27 UTC 2021
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.
- JDK-8275865: Print deoptimization statistics in product builds
Stats: 84 lines in 2 files changed: 84 ins; 0 del; 0 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6103/head:pull/6103
More information about the hotspot-runtime-dev