RFR: 8282024: add EscapeAnalysis statistics under PrintOptoStatistics [v15]
aamarsh
duke at openjdk.java.net
Mon May 23 18:18: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 = 263, Arg escape = 87, Global escape = 1628
> Objects scalar replaced = 193, Monitor objects removed = 32, GC barriers removed = 38, Memory barriers removed = 225
aamarsh has updated the pull request incrementally with two additional commits since the last revision:
- delete iterative EA comment
- account for iterative EA
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8019/files
- new: https://git.openjdk.java.net/jdk/pull/8019/files/8c394555..fe3448eb
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8019&range=14
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8019&range=13-14
Stats: 3 lines in 2 files changed: 0 ins; 1 del; 2 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