RFR: JDK-8275865: Print deoptimization statistics in product builds [v2]
Volker Simonis
simonis at openjdk.java.net
Wed Oct 27 11:43:47 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.
Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:
Fix C1 case which doesn't print deoptimization statistics
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6103/files
- new: https://git.openjdk.java.net/jdk/pull/6103/files/9b6bc6fe..42f01aed
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6103&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6103&range=00-01
Stats: 5 lines in 1 file changed: 1 ins; 2 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/6103.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6103/head:pull/6103
PR: https://git.openjdk.java.net/jdk/pull/6103
More information about the hotspot-compiler-dev
mailing list