RFR: 8343218: Disable allocating interface and abstract classes in non-class metaspace [v2]

David Holmes dholmes at openjdk.org
Thu Oct 31 05:38:29 UTC 2024


On Wed, 30 Oct 2024 12:03:43 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Change the code to allocate all Klasses to class-metaspace until c2 dependencies are understood and fixed, and more urgent need arises when compressing klass pointers to smaller numbers of bits.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update src/hotspot/share/oops/instanceKlass.cpp
>   
>   Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>

src/hotspot/share/oops/instanceKlass.cpp line 460:

> 458:   // are the only ones that require compression and allocation in the limited class metaspace
> 459:   // region.  But ... there are C2 dependencies that all klasses are allocated to the class metaspace, so
> 460:   // always use the class metaspace until JDK-NNNNNNN is resolved.

JDK-NNNNNN was supposed to be replaced by an actual bug number. :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21769#discussion_r1823791677


More information about the hotspot-dev mailing list