RFR: 8348887: Create IR framework test for JDK-8347997 [v2]

Marc Chevalier mchevalier at openjdk.org
Wed Apr 2 10:03:30 UTC 2025


> As the ticket says:
>> Create IR framework test which checks that allocations are eliminated in the regression test included in [JDK-8347997](https://bugs.openjdk.org/browse/JDK-8347997) fix.
> 
> So here it is! We can see that in case of inlining, indeed, no allocation happens. The second part is some sanity check to emphasize the difference: of course, there is an allocation without inlining. The benefit of this second part is arguable. From my point of view, it's mostly to point out the difference to a future reader. But yes, there is nothing very surprising.
> 
> Thanks,
> Marc

Marc Chevalier has updated the pull request incrementally with one additional commit since the last revision:

  Remove catch, rename, remove static

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24328/files
  - new: https://git.openjdk.org/jdk/pull/24328/files/f53138f7..efa712be

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24328&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24328&range=00-01

  Stats: 35 lines in 1 file changed: 0 ins; 12 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/24328.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24328/head:pull/24328

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


More information about the hotspot-compiler-dev mailing list