RFR: 8340012: [C2] assert(KlassEncodingMetaspaceMax > pd) failed: change encoding max if new encoding after 8338526
Vladimir Kozlov
kvn at openjdk.org
Thu Sep 12 19:10:09 UTC 2024
On Thu, 12 Sep 2024 17:49:37 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> > @coleenp, do you have an assert in your changes which check that only abstract and interface classes are outside encoding space? I concern that due to some bug we would get regular class outside.
>
> I only check these conditions when allocating the Klass. Maybe it could be added to CompressedKlassPointers::is_in_encoding_range().
@TheRealMDoerr can you add such assert?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20971#issuecomment-2347041229
More information about the hotspot-dev
mailing list