RFR: 8282024: add EscapeAnalysis statistics under PrintOptoStatistics [v15]
Xin Liu
xliu at openjdk.java.net
Tue May 24 04:59:42 UTC 2022
On Mon, 23 May 2022 18:18:39 GMT, aamarsh <duke at openjdk.java.net> wrote:
>> 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
LGTM. I am not a reviewer. we need other reviewers to approve this.
-------------
Marked as reviewed by xliu (Committer).
PR: https://git.openjdk.java.net/jdk/pull/8019
More information about the hotspot-compiler-dev
mailing list