On Sat, 14 Feb 2026 07:23:01 GMT, Ioi Lam <[email protected]> wrote:

>> We are seeing intermittent failures (12 times in Jan 2026) where the CDS 
>> archives generated in the JDK build is not deterministic.
>> 
>> The symptom is that (perhaps due to the peculiarity of hash codes and memory 
>> addressing??) the constant pool entry for `ReferenceKey<?>` in the 
>> `WeakReferenceKey` class is not resolved when the failure happens. Probably 
>> it's due to a particular layout in the hashtable such that we have no 
>> collisions so the `WeakReferenceKey::equals()` method is never called.
>> 
>> The fix is for the JVM to call a method in `WeakReferenceKey` to force this 
>> entry to be resolved.
>
> Ioi Lam has updated the pull request incrementally with one additional commit 
> since the last revision:
> 
>   @liach comments

Good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29678#pullrequestreview-3822602720

Reply via email to