Reported by SAP. Both cases look like they could be the result of slow or overloaded test machines.
```
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)
```