RFR: 8367627: C2: Missed Ideal() optimization opportunity with MemBar [v3]

Christian Hagedorn chagedorn at openjdk.org
Mon Jan 5 07:47:06 UTC 2026


On Fri, 12 Dec 2025 18:53:17 GMT, Benoît Maillard <bmaillard at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/c2/igvn/TestMissingOptMemBarRemovePrecedentEdge.java line 2:
>> 
>>> (failed to retrieve contents of file, check the PR for context)
>> Should the test go into an `igvn` directory? Or something else a bit more specific?
>
> Moved it to `compiler/c2/igvn`

I guess we could clean this up at some point. We now have `igvn`, `c2/igvn`, and `c2/gvn`. And some other C2 specific tests are in folders inside `c2` while others are in the base directory.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28448#discussion_r2660559734


More information about the hotspot-compiler-dev mailing list