RFR: 8263591: Two C2 compiler phases with the name "after matching" [v2]

Tobias Hartmann thartmann at openjdk.java.net
Tue Mar 16 12:18:25 UTC 2021


> [JDK-8223347](https://bugs.openjdk.java.net/browse/JDK-8223347) added a `PHASE_AFTER_MATCHING` which is equivalent to  `PHASE_MATCHING` but only printed at level 3 and before node verification: 
> https://github.com/openjdk/jdk/blob/20297a1bebfe03c45344a713ec561c97888c4750/src/hotspot/share/opto/compile.cpp#L2757-L2769
> 
> I don't think there is any benefit in having both and therefore removed it together with some other dead code (`idx` is always `0`).
> 
> Thanks,
> Tobias

Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:

  Nils' comments

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3026/files
  - new: https://git.openjdk.java.net/jdk/pull/3026/files/5f2d3982..1b887fb5

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3026&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3026&range=00-01

  Stats: 8 lines in 3 files changed: 4 ins; 1 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3026.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3026/head:pull/3026

PR: https://git.openjdk.java.net/jdk/pull/3026


More information about the hotspot-compiler-dev mailing list