RFR: 8366890: C2: Split through phi printing with TraceLoopOpts misses line break

Christian Hagedorn chagedorn at openjdk.org
Thu Sep 4 12:49:56 UTC 2025


[JDK-8356176](https://bugs.openjdk.org/browse/JDK-8356176) added new printing code for `TraceLoopOpts` when splitting nodes through a phi but missed a line break. This will result in:

Split 974 CmpI through 1465 Phi in 953 RegionSplit 474 Bool through 1468 Phi in 953 RegionSplit-If

instead of

Split 974 CmpI through 1465 Phi in 953 RegionSplit 474 Bool through 1468 Phi in 953 Region
Split-If

This patch fixes this.

Thanks,
Christian

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

Commit messages:
 - C2: Split through phi printing with TraceLoopOpts misses line break

Changes: https://git.openjdk.org/jdk/pull/27092/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27092&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366890
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/27092.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27092/head:pull/27092

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


More information about the hotspot-compiler-dev mailing list