RFR: 8282024: add EscapeAnalysis statistics under PrintOptoStatistics [v13]
aamarsh
duke at openjdk.java.net
Fri May 20 19:47:39 UTC 2022
> Escape Analysis and Scalar Replacement statistics were added when the -XX:+PrintOptoStatistics flag is set. All code is placed in `#ifndef Product` block, so this code is only run when creating a debug build. Using renaissance benchmark I ran a few tests to confirm that numbers were printing correctly. Below is an example run:
>
>
> No escape = 337, Arg escape = 125, Global escape = 2025
> Objects scalar replaced = 217, Monitor objects removed = 29, GC barriers removed = 33, Memory barriers removed = 246
aamarsh has updated the pull request incrementally with one additional commit since the last revision:
nit picks & removing time
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8019/files
- new: https://git.openjdk.java.net/jdk/pull/8019/files/337ab461..56d6317d
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8019&range=12
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8019&range=11-12
Stats: 34 lines in 4 files changed: 0 ins; 17 del; 17 mod
Patch: https://git.openjdk.java.net/jdk/pull/8019.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8019/head:pull/8019
PR: https://git.openjdk.java.net/jdk/pull/8019
More information about the hotspot-compiler-dev
mailing list