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

Cesar Soares Lucas cslucas at openjdk.org
Wed May 15 01:49:20 UTC 2024


On Wed, 8 May 2024 23:44:26 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.

This pull request has now been integrated.

Changeset: 4e77cf88
Author:    Cesar Soares Lucas <cslucas at openjdk.org>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4e77cf881d031e5b0320915b3eabd7702e560291
Stats:     139 lines in 3 files changed: 117 ins; 1 del; 21 mod

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

Reviewed-by: kvn

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

PR: https://git.openjdk.org/jdk/pull/19148


More information about the hotspot-compiler-dev mailing list