Details
-
Bug
-
Resolution: Fixed
-
P3
-
22
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8314109 | 21.0.1 | Aleksey Shipilev | P3 | Resolved | Fixed | b08 |
JDK-8315032 | 17.0.9 | Aleksey Shipilev | P3 | Resolved | Fixed | b05 |
Description
stdout: [[0.189s][info][trimnative] Periodic native trim enabled (interval: 500 ms)
[0.189s][info][trimnative] Native heap trimmer start
Will spike now...
[0.690s][info][trimnative] Periodic Trim (1): 365M->357M (-7928K) 0.596ms
Done spiking.
GC...
Sleeping...
[1.191s][info][trimnative] Periodic Trim (2): 216M->206M (-10616K) 0.605ms
[1.691s][info][trimnative] Periodic Trim (3): 206M->206M (+0B) 0.113ms
[2.191s][info][trimnative] Periodic Trim (4): 206M->206M (+0B) 0.112ms
[2.691s][info][trimnative] Periodic Trim (5): 206M->206M (+0B) 0.110ms
[3.191s][info][trimnative] Periodic Trim (6): 206M->206M (+0B) 0.110ms
[3.692s][info][trimnative] Periodic Trim (7): 206M->206M (+0B) 0.110ms
[4.192s][info][trimnative] Periodic Trim (8): 206M->206M (+0B) 0.144ms
[4.692s][info][trimnative] Periodic Trim (9): 206M->206M (+0B) 0.134ms
[5.192s][info][trimnative] Periodic Trim (10): 206M->206M (+0B) 0.111ms
[5.198s][debug][trimnative] Trim suspended for chunk pool cleaner (1 suspend requests)
[5.198s][debug][trimnative] Trim resumed after chunk pool cleaner
[5.693s][info ][trimnative] Periodic Trim (11): 206M->204M (-1228K) 0.245ms
Done.
[5.906s][info ][trimnative] Native heap trimmer stop
];
stderr: []
exitValue = 0
java.lang.RuntimeException: We did not see the expected RSS reduction in the UL log. Expected (with fudge) to see at least a combined reduction of 67108864.
at TestTrimNative.parseOutputAndLookForNegativeTrim(TestTrimNative.java:204)
at TestTrimNative.main(TestTrimNative.java:256)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
Appears to only fail on our Oracle Linux 7.9 machines
Attachments
Issue Links
- backported by
-
JDK-8314109 New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
- Resolved
-
JDK-8315032 New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
- Resolved
- relates to
-
JDK-8293114 JVM should trim the native heap
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/3c426c70
-
Commit openjdk/jdk21u/fc624dfa
-
Commit openjdk/jdk/ad34be1f
-
Review openjdk/jdk17u-dev/1633
-
Review openjdk/jdk17u-dev/1662
-
Review openjdk/jdk21u/26
-
Review openjdk/jdk/14984