Integrated: 8364202: CDS without G1 gives build error in slowdebug, asserts in fastdebug
Thomas Stuefe
stuefe at openjdk.org
Wed Jul 30 04:58:01 UTC 2025
On Tue, 29 Jul 2025 06:14:46 GMT, Thomas Stuefe <stuefe 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.
This pull request has now been integrated.
Changeset: 164d0368
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/164d0368f608ff43789d2abd96cd0f5449458122
Stats: 19 lines in 5 files changed: 12 ins; 2 del; 5 mod
8364202: CDS without G1 gives build error in slowdebug, asserts in fastdebug
Reviewed-by: ccheung, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/26523
More information about the hotspot-runtime-dev
mailing list