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)

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

Commit messages:
 - 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1 
failed with CONF=release -XX:ReservedCodeCacheSize=8m

Changes: https://git.openjdk.org/jdk/pull/18284/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18284&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8327180
  Stats: 36 lines in 1 file changed: 5 ins; 28 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/18284.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18284/head:pull/18284

PR: https://git.openjdk.org/jdk/pull/18284

Reply via email to