Integrated: 8354930: IGV: dump C2 graph before and after live range stretching

Manuel Hässig mhaessig at openjdk.org
Tue Jun 3 03:21:59 UTC 2025


On Wed, 28 May 2025 11:54:24 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

> This PR introduces a new phase `LIVE_RANGE_STRETCHING` that prints after live ranges have been stretched, if that happens at all. The phase `INITIAL_LIVENESS` is moved before live range stretching so we can compare the live ranges before and after stretching in IGV, which is useful for debugging why an oop suddenly belongs to an oop map.
> 
> ## Testing
> 
>  - [x] [Github Actions](https://github.com/mhaessig/jdk/actions/runs/15299362485)
>  - [x] tier1 and tier1, plus additional Oracle internal testing for all Oracle supported platforms and OSs
>  - [x] verified that the new phase prints when it should in IGV and with `-XX:PrintPhaseLevel=4`

This pull request has now been integrated.

Changeset: 24edd3b2
Author:    Manuel Hässig <mhaessig at openjdk.org>
Committer: SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/24edd3b2c1324fd58575a6273e5cae17e3d6fbf5
Stats:     7 lines in 3 files changed: 5 ins; 2 del; 0 mod

8354930: IGV: dump C2 graph before and after live range stretching

Reviewed-by: rcastanedalo, chagedorn

-------------

PR: https://git.openjdk.org/jdk/pull/25492


More information about the hotspot-compiler-dev mailing list