RFR: 8287396 LIR_Opr::vreg_number() and data() can return negative number

Dean Long dlong at openjdk.java.net
Fri May 27 07:37:51 UTC 2022


On Fri, 27 May 2022 03:23:47 GMT, Dean Long <dlong at openjdk.org> wrote:

> This PR does two things:
> - reverts the incorrect change to non_data_bits that included pointer_bits
> - treats the data() as an unsigned int to prevent a high bit being treated as a negative number

I got one timeout in the new test compiler/c1/TestTooManyVirtualRegistersMain.java from JDK-8261235.  My change doubles the maximum number of virtual registers allowed, from 0x20000 to 0x40000.  That probably explains why the test runs so long.  Both numbers seem insanely large.  Maybe we should set vreg_max to something more reasonable?

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

PR: https://git.openjdk.java.net/jdk/pull/8912


More information about the hotspot-compiler-dev mailing list