RFR: 8364202: CDS without G1 gives build error in slowdebug, asserts in fastdebug
Thomas Stuefe
stuefe at openjdk.org
Wed Jul 30 04:58:00 UTC 2025
On Tue, 29 Jul 2025 21:17:44 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> This patch fixes two problems:
>>
>> - when building without INCLUDE_CDS_JAVA_HEAP (disabling G1 at configure, or building 32-bit), we get a linker error in slowdebug.
>> - when running with CDS, but without INCLUDE_CDS_JAVA_HEAP, we initialize CompressedKlassPointers via the "lenient" route where we allow optimized encoding base choice. This can lead to zero-based encoding, in which case we should not attempt to setup a protection zone at the start of the encoding range.
>
> LGTM
Thanks @iklam and @calvinccheung
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26523#issuecomment-3134848377
More information about the hotspot-runtime-dev
mailing list