RFR: 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1

Iris Clark iris at openjdk.org
Wed Mar 13 18:43:14 UTC 2024


On Wed, 13 Mar 2024 18:01:21 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> The intermittent failure of ObjectStreamClassCaching is due to an incorrect assumption about GC behavior and a race condition.
> 
> Removed test based on incorrect assumptions about simultaneous clearing of WeakReferences.
> Added a run of the test using ZGC, (previously omitted)

Marked as reviewed by iris (Reviewer).

test/jdk/java/io/ObjectStreamClass/ObjectStreamClassCaching.java line 53:

> 51: /*
> 52:  * Disabled for ZGC Generational.
> 53:  * TODO: Find correct appropriate solution to the flakiness of this test.

Shouldn't you also remove the comment at line 52 since this test is no longer disabled?

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

PR Review: https://git.openjdk.org/jdk/pull/18284#pullrequestreview-1934946970
PR Review Comment: https://git.openjdk.org/jdk/pull/18284#discussion_r1523749769


More information about the core-libs-dev mailing list