RFR: 8259706: C2 compilation fails with assert(vtable_index == Method::invalid_vtable_index) failed: correct sentinel value
Tobias Hartmann
thartmann at openjdk.java.net
Thu Jan 14 07:26:04 UTC 2021
On Wed, 13 Jan 2021 16:59:33 GMT, Lutz Schmidt <lucy 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
@RealLucy, @chhagedorn, thanks for the reviews!
-------------
PR: https://git.openjdk.java.net/jdk/pull/2062
More information about the hotspot-compiler-dev
mailing list