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

[TESTBUG] gc/epsilon/TestClasses.java fails on some platforms - OOME Metaspace

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        #section:main
        ----------messages:(5/601)----------
        command: main -Xmx128m -XX:MetaspaceSize=1m -XX:MaxMetaspaceSize=32m -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xlog:gc -Xlog:gc+metaspace TestClasses
        reason: User specified action: run main/othervm -Xmx128m -XX:MetaspaceSize=1m -XX:MaxMetaspaceSize=32m -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xlog:gc -Xlog:gc+metaspace TestClasses
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        elapsed time (seconds): 142.888
        ----------configuration:(5/205)----------
        Boot Layer
          add modules: java.base
          add exports: java.base/jdk.internal.misc ALL-UNNAMED
                       java.base/jdk.internal.org.objectweb.asm ALL-UNNAMED

        ----------System.out:(52/4895)----------
        [0.014s][info][gc] Non-resizeable heap; start/max: 128M
        [0.014s][info][gc] Using TLAB allocation; max: 4096K
        [0.014s][info][gc] Elastic TLABs enabled; elasticity: 1.10x
        [0.014s][info][gc] Elastic TLABs decay enabled; decay time: 1000ms
        [0.014s][info][gc] Using Epsilon
        [4.898s][info][gc] GC request for "Metadata GC Threshold" is handled
        [4.898s][info][gc,metaspace] Metaspace: 8192K reserved, 4096K (50.00%) committed, 4095K (50.00%) used
        [25.676s][info][gc ] GC request for "Metadata GC Threshold" is handled
        [25.676s][info][gc,metaspace] Metaspace: 8192K reserved, 6832K (83.40%) committed, 6713K (81.96%) used
        [36.227s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 6667K (5.09%) used
        [36.227s][info][gc,metaspace] Metaspace: 10240K reserved, 9136K (89.22%) committed, 8754K (85.49%) used
        [42.204s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 13241K (10.10%) used
        [42.204s][info][gc,metaspace] Metaspace: 12288K reserved, 10672K (86.85%) committed, 10289K (83.73%) used
        [44.735s][info][gc ] GC request for "Metadata GC Threshold" is handled
        [44.735s][info][gc,metaspace] Metaspace: 12288K reserved, 11392K (92.71%) committed, 11216K (91.28%) used
        [46.576s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 20145K (15.37%) used
        [46.576s][info][gc,metaspace] Metaspace: 12288K reserved, 12160K (98.96%) committed, 11754K (95.66%) used
        [51.264s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 26801K (20.45%) used
        [51.264s][info][gc,metaspace] Metaspace: 14336K reserved, 13440K (93.75%) committed, 13252K (92.44%) used
        [56.051s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 33457K (25.53%) used
        [56.051s][info][gc,metaspace] Metaspace: 16384K reserved, 14976K (91.41%) committed, 14767K (90.14%) used
        [60.721s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 40113K (30.60%) used
        [60.721s][info][gc,metaspace] Metaspace: 18432K reserved, 16512K (89.58%) committed, 16246K (88.14%) used
        [66.907s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 46769K (35.68%) used
        [66.907s][info][gc,metaspace] Metaspace: 18432K reserved, 18048K (97.92%) committed, 17762K (96.37%) used
        [70.797s][info][gc ] GC request for "Metadata GC Threshold" is handled
        [70.798s][info][gc,metaspace] Metaspace: 20480K reserved, 18992K (92.73%) committed, 18761K (91.61%) used
        [73.109s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 53425K (40.76%) used
        [73.109s][info][gc,metaspace] Metaspace: 20480K reserved, 19760K (96.48%) committed, 19276K (94.12%) used
        [78.410s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 60081K (45.84%) used
        [78.410s][info][gc,metaspace] Metaspace: 22528K reserved, 21040K (93.39%) committed, 20788K (92.28%) used
        [84.904s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 66737K (50.92%) used
        [84.904s][info][gc,metaspace] Metaspace: 24576K reserved, 22576K (91.86%) committed, 22299K (90.74%) used
        [92.684s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 73354K (55.97%) used
        [92.684s][info][gc,metaspace] Metaspace: 24576K reserved, 24112K (98.11%) committed, 23725K (96.54%) used
        [99.006s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 80015K (61.05%) used
        [99.006s][info][gc,metaspace] Metaspace: 26624K reserved, 25648K (96.33%) committed, 25228K (94.76%) used
        [107.730s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 86861K (66.27%) used
        [107.730s][info][gc,metaspace] Metaspace: 28672K reserved, 27184K (94.81%) committed, 26808K (93.50%) used
        [116.720s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 93789K (71.56%) used
        [116.720s][info][gc,metaspace] Metaspace: 30720K reserved, 28720K (93.49%) committed, 28346K (92.27%) used
        [126.063s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 100488K (76.67%) used
        [126.063s][info][gc,metaspace] Metaspace: 30720K reserved, 30256K (98.49%) committed, 29909K (97.36%) used
        [135.861s][info][gc ] GC request for "Metadata GC Threshold" is handled
        [135.861s][info][gc,metaspace] Metaspace: 32768K reserved, 31536K (96.24%) committed, 31293K (95.50%) used
        [136.748s][info][gc ] Heap: 128M reserved, 128M (100.00%) committed, 104M (81.71%) used
        [136.748s][info][gc,metaspace] Metaspace: 32768K reserved, 31792K (97.02%) committed, 31445K (95.96%) used
        [142.801s][info][gc ] GC request for "Metadata GC Threshold" is handled
        [142.801s][info][gc,metaspace] Metaspace: 34816K reserved, 32768K (94.12%) committed, 32508K (93.37%) used
        [142.801s][info][gc ] GC request for "Metadata GC Clear Soft References" is handled
        [142.801s][info][gc,metaspace] Metaspace: 34816K reserved, 32768K (94.12%) committed, 32508K (93.37%) used
        Terminating due to java.lang.OutOfMemoryError: Metaspace

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shade Aleksey Shipilev
                  Reporter:
                  dholmes David Holmes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: