Integrated: 8282024: add EscapeAnalysis statistics under PrintOptoStatistics
aamarsh
duke at openjdk.java.net
Wed Jun 1 20:23:29 UTC 2022
On Tue, 29 Mar 2022 17:31:29 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
This pull request has now been integrated.
Changeset: 2f191442
Author: Ana Marsh <anamarsh at microsoft.com>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/2f1914424936eebd2478ca9d3100f88abb2d199c
Stats: 112 lines in 5 files changed: 110 ins; 0 del; 2 mod
8282024: add EscapeAnalysis statistics under PrintOptoStatistics
Reviewed-by: xliu, kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/8019
More information about the hotspot-compiler-dev
mailing list