-
Bug
-
Resolution: Fixed
-
P4
-
17, 19, 20
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8292151 | 19.0.2 | Peter Levart | P4 | Resolved | Fixed | b01 |
JDK-8292129 | 19.0.1 | Peter Levart | P4 | Resolved | Fixed | b06 |
JDK-8291910 | 19 | Peter Levart | P4 | Resolved | Fixed | b35 |
JDK-8325947 | 17.0.12-oracle | Ravi Reddy | P4 | Resolved | Fixed | b01 |
JDK-8314057 | 17.0.9 | Sergey Bylokhov | P4 | Resolved | Fixed | b03 |
$ CONF=linux-x86_64-server-fastdebug make test TEST=java/io/ObjectStreamClass/ObjectStreamClassCaching.java TEST_VM_OPTS="-XX:+UseParallelGC"
test ObjectStreamClassCaching.testCacheReleaseUnderMemoryPressure(): success
test ObjectStreamClassCaching.testCachingEffectiveness(): failure
java.lang.AssertionError: Cache lost entry although memory was not under pressure expected [false] but found [true]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertFalse(Assert.java:67)
This is probably because System.gc() request in the test is handled by different GCs differently.
In fact, the test fails with G1 if we do a second System.gc() in this test. So the test itself is flaky. We should probably stop doing GCs altogether there.
- backported by
-
JDK-8291910 java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs
- Resolved
-
JDK-8292129 java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs
- Resolved
-
JDK-8292151 java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs
- Resolved
-
JDK-8314057 java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs
- Resolved
-
JDK-8325947 java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs
- Resolved
- relates to
-
JDK-8277072 ObjectStreamClass caches keep ClassLoaders alive
- Closed
- links to
-
Commit openjdk/jdk17u-dev/fe3920e6
-
Commit openjdk/jdk19/4b3dfe1d
-
Commit openjdk/jdk/d4a795d7
-
Review openjdk/jdk17u-dev/1645
-
Review openjdk/jdk19/27
-
Review openjdk/jdk19/162
-
Review openjdk/jdk/9533
-
Review openjdk/jdk/9684