RFR: 8320682: [AArch64] C1 compilation fails with "Field too big for insn"

Andrew Haley aph at openjdk.org
Wed Dec 6 14:43:37 UTC 2023


On Wed, 6 Dec 2023 13:33:32 GMT, Daniel Lundén <duke at openjdk.org> wrote:

> Given the +/-1MB range for `adr`, would it instead be a good idea to limit `-XX:NMethodSizeLimit` to 1MB?

I guess that would be OK. I'm thinking of extreme scenarios where a method's constant pool is large but the stub code at its end is smaller, in which case an `adr` wouldn't quite reach. But I think that's unlikely.

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

PR Comment: https://git.openjdk.org/jdk/pull/16951#issuecomment-1843020438


More information about the hotspot-compiler-dev mailing list