RFR: JDK-8322854: Incorrect rematerialization of scalar replaced objects in C2

Vladimir Kozlov kvn at openjdk.org
Wed Feb 7 23:10:53 UTC 2024


On Tue, 6 Feb 2024 23:02:55 GMT, Cesar Soares Lucas <cslucas at openjdk.org> wrote:

>> @JohnTortugo are you still working on it? Please, let me know when you are ready for re-review and testing.
>
> Hi @vnkozlov , @TobiHartmann - can you please take a look at the changes and run your internal tests on it? TIA!
> 
> @vnkozlov - I added an assert to check that there is a (non_io) memory projection in the Allocate. I ran `hotspot-all` in a few OS's and the assert didn't trigger. I kept it on the code just in case it may trigger with a different set of JVM options, OS/arch, etc.

@JohnTortugo can you look on the attached `Test.java` from [JDK-8324739](https://bugs.openjdk.org/browse/JDK-8324739)?
It passed with your initial (v00) fix and failed with latest when you added `, /*io_use:*/false`

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

PR Comment: https://git.openjdk.org/jdk/pull/17562#issuecomment-1933083052


More information about the hotspot-compiler-dev mailing list