[jdk17] RFR: 8268366 Incorrect calculation of has_fpu_registers in C1 linear scan

Dean Long dlong at openjdk.java.net
Fri Jun 11 02:03:02 UTC 2021


On Fri, 11 Jun 2021 00:50:50 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> If there is a mismatch between bytecode use of floating point and generated IR, has_fpu_registers can get an incorrect value and result in a crash or assert.  This PR adds a missing case for the computation of has_fpu_registers, restores an assert that was removed, adds a bailout for non-debug builds, and adds a test.
>
> Marked as reviewed by kvn (Reviewer).

Thanks @vnkozlov

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

PR: https://git.openjdk.java.net/jdk17/pull/10


More information about the hotspot-compiler-dev mailing list