Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8312525

New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction

    XMLWordPrintable

Details

    • 22
    • b09
    • x86_64
    • linux_oracle_7

    Backports

      Description

        ----------System.err:(36/1936)----------
         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

            Activity

              People

                stuefe Thomas Stuefe
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: