RFR: 8259706: C2 compilation fails with assert(vtable_index == Method::invalid_vtable_index) failed: correct sentinel value

Lutz Schmidt lucy at openjdk.java.net
Wed Jan 13 17:02:04 UTC 2021


On Wed, 13 Jan 2021 13:07:51 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> When trying to backport [JDK-8259339](https://bugs.openjdk.java.net/browse/JDK-8259339) to JDK 11u, I've hit an assert on Sparc that triggers because the slow virtual call to `Unsafe.allocateUninitializedArray0` could be optimized to a static call since the `Unsafe` class is final.
> 
> Thanks,
> Tobias

Tobias,
this change looks good to me. Thanks for fixing.
Lutz

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

Marked as reviewed by lucy (Reviewer).

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


More information about the hotspot-compiler-dev mailing list