RFR: JDK-8323190: Segfault during deoptimization of C2-compiled code [v3]

Cesar Soares Lucas cslucas at openjdk.org
Wed Jan 10 18:20:43 UTC 2024


On Wed, 10 Jan 2024 08:00:38 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> It's concerning though that we don't have any other test covering this. Would it make sense to extend AllocationMergesTests.java to cover some more variants?

Thank you for reviewing @TobiHartmann ! I think `AllocationMergesTests.java` isn't the ideal place for these tests. The tests in `AllocationMergesTests.java` are for checking the IR shape after the optimization, the current issue was actually because of a problem emitting debug info for a compilation unit - it's not something that we can capture with the IR-framework I believe.

In this other PR (https://github.com/openjdk/jdk/pull/15825) I have a test file that I think will be more appropriate for this kind of test.

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

PR Comment: https://git.openjdk.org/jdk/pull/17333#issuecomment-1885378367


More information about the hotspot-compiler-dev mailing list