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

Christian Hagedorn chagedorn at openjdk.java.net
Thu Jan 14 07:26:02 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

Looks good!

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

Marked as reviewed by chagedorn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list