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

Test vmTestbase/metaspace/gc/watermark_70_80/TestDescription.java fails with no GC's recorded

    XMLWordPrintable

Details

    • gc
    • b26
    • x86_64
    • windows

    Backports

      Description

        %%% Working with Metaspace
        % -XX:MetaspaceSize=5m
        % -XX:MaxMetaspaceFreeRatio=80
        % -XX:MinMetaspaceFreeRatio=70
        % -XX:MaxMetaspaceSize=25m
        % -XX:-UseCompressedOops
        % Classes loaded: 1140
        % Used metaspace : 10101k
        % Committed metaspce: 15488k
        % GC has been invoked: 0 times
        ----------System.err:(14/930)----------
        metaspace.gc.Fault: GC has happened 0 times, approximate count is 1 to 3
        at metaspace.gc.HighWaterMarkTest.checkGCCount(HighWaterMarkTest.java:222)
        at metaspace.gc.HighWaterMarkTest.doCheck(HighWaterMarkTest.java:196)
        at metaspace.gc.MetaspaceBaseGC.run(MetaspaceBaseGC.java:97)
        at metaspace.gc.HighWaterMarkTest.main(HighWaterMarkTest.java:67)
        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.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1575)

        Fails with options
         - -XX:+UseParallelGC -Xcomp -XX:-TieredCompilation'
         - -XX:+UseSerialGC -Xcomp -XX:-TieredCompilation

        Attachments

          Issue Links

            Activity

              People

                tschatzl Thomas Schatzl
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: