RFR: JDK-8330795 : C2: assert((uint)type <= T_CONFLICT && _zero_type[type] != nullptr) failed: bad type with -XX:-UseCompressedClassPointers [v3]

Vladimir Kozlov kvn at openjdk.org
Tue May 14 03:54:02 UTC 2024


On Mon, 13 May 2024 22:09:23 GMT, Cesar Soares Lucas <cslucas at openjdk.org> wrote:

>> The `assert((uint)type <= T_CONFLICT && _zero_type[type] != nullptr) failed: bad type` failure was caused by the fact that we didn't have a "zero value" for the type T_METADATA. The RAM patch uses that data when it creates a Phi node merging Klass loads and UseCompressedClassPointers is disabled.
>> 
>> Tested with JTREG tier1-4 on Linux x86_64 & ARM64.
>
> Cesar Soares Lucas has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Addressing feedback: more tests. Reverting previous change.

Thank you for explaining issue you have with klass loading.
I will run our testing with you current version.

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

PR Comment: https://git.openjdk.org/jdk/pull/19148#issuecomment-2109228049


More information about the hotspot-compiler-dev mailing list