RFR: 8354887: Preserve runtime blobs in AOT code cache [v2]
Ashutosh Mehra
asmehra at openjdk.org
Wed May 7 15:40:16 UTC 2025
On Wed, 7 May 2025 15:31:35 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
>> @adinn Do you remember why we commented `UseCompatibleCompressedOops` setting?:
>> https://github.com/openjdk/leyden/commit/478f86f9cd6df6b92c037c83d0540b9c5fe97e5c
>>
>> It is still not enabled - how we are not crashing in premain?
>
> @vnkozlov Ergonomics comes into play. It is set to true in cdsConfig.cpp if CacheDataStore != nullptr.
@adinn in premain it is commented out -
https://github.com/openjdk/leyden/blob/f09d2f7724c628c90df51eacb16b33fee710ed1a/src/hotspot/share/cds/cdsConfig.cpp#L790
#ifdef _LP64
// FLAG_SET_ERGO_IF_DEFAULT(UseCompatibleCompressedOops, true); // FIXME @iklam - merge with mainline - UseCompatibleCompressedOops
#endif
I don't see any other place it is set.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25019#issuecomment-2859083913
More information about the hotspot-compiler-dev
mailing list