[jdk17] RFR: 8268366 Incorrect calculation of has_fpu_registers in C1 linear scan
Vladimir Kozlov
kvn at openjdk.java.net
Fri Jun 11 00:53:48 UTC 2021
On Thu, 10 Jun 2021 23:43:43 GMT, Dean Long <dlong 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).
-------------
PR: https://git.openjdk.java.net/jdk17/pull/10
More information about the hotspot-compiler-dev
mailing list