-
Bug
-
Resolution: Fixed
-
P4
-
17, 21, 22
-
b12
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8314920 | 21.0.1 | Aleksey Shipilev | P4 | Resolved | Fixed | b09 |
JDK-8315036 | 17.0.9 | Aleksey Shipilev | P4 | Resolved | Fixed | b05 |
```
Linuxaarc64 11.8. :
stdout: [[0.133s][info][trimnative] Periodic native trim enabled (interval: 500 ms)
[0.133s][info][trimnative] Native heap trimmer start
Will spike now...
Done spiking.
GC...
Sleeping...
[0.642s][info][trimnative] Periodic Trim (1): 315M->171M (-144M) 9.717ms
[1.143s][info][trimnative] Periodic Trim (2): 171M->171M (+0B) 0.216ms
[1.643s][info][trimnative] Periodic Trim (3): 171M->171M (+0B) 0.228ms
[2.144s][info][trimnative] Periodic Trim (4): 171M->171M (+0B) 0.226ms
[2.644s][info][trimnative] Periodic Trim (5): 171M->171M (+0B) 0.270ms
[3.144s][info][trimnative] Periodic Trim (6): 171M->171M (+0B) 0.255ms
[3.645s][info][trimnative] Periodic Trim (7): 171M->171M (+0B) 0.221ms
[4.145s][info][trimnative] Periodic Trim (8): 171M->171M (+0B) 0.561ms
[4.646s][info][trimnative] Periodic Trim (9): 171M->171M (+0B) 0.228ms
[5.144s][debug][trimnative] Trim suspended for chunk pool cleaner (1 suspend requests)
[5.144s][debug][trimnative] Trim resumed after chunk pool cleaner
[5.147s][info ][trimnative] Periodic Trim (10): 171M->171M (-716K) 0.558ms
Done.
];
stderr: []
exitValue = 0
java.lang.RuntimeException: 'Native heap trimmer stop' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
at TestTrimNative.checkExpectedLogMessages(TestTrimNative.java:173)
at TestTrimNative.main(TestTrimNative.java:280)
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)
```
```
runtime/os/TestTrimNative.java#trimNativeLowInterval 15.8 linuxppc64le :
java.lang.RuntimeException: Abnormal high number of periodic trim attempts found (more than 3000). Does the interval setting not work?
at TestTrimNative.parseOutputAndLookForNegativeTrim(TestTrimNative.java:205)
at TestTrimNative.main(TestTrimNative.java:304)
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:1583)
```
- backported by
-
JDK-8314920 runtime/os/TestTrimNative.java is failing on slow machines
- Resolved
-
JDK-8315036 runtime/os/TestTrimNative.java is failing on slow machines
- Resolved
- relates to
-
JDK-8293114 JVM should trim the native heap
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/fdc41302
-
Commit openjdk/jdk21u/f07aa564
-
Commit openjdk/jdk/20e94784
-
Review openjdk/jdk17u-dev/1687
-
Review openjdk/jdk21u/86
-
Review openjdk/jdk/15309