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

GC test concurrent/lp50yp0rp30mr70st0 failed due to IllegalArgumentException

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed due to IllegalArgumentException

      vmTestbase/vm/gc/concurrent/lp50yp0rp30mr70st0/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/400)----------
      command: main -XX:-UseGCOverheadLimit vm.gc.concurrent.Concurrent -lp 50 -yp 0 -rp 30 -mr 70 -st 0 -ms high -gp randomString -gp1 nonbranchyTree(low)
      reason: User specified action: run main/othervm -XX:-UseGCOverheadLimit vm.gc.concurrent.Concurrent -lp 50 -yp 0 -rp 30 -mr 70 -st 0 -ms high -gp randomString -gp1 nonbranchyTree(low)
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 1.072
      ----------configuration:(0/0)----------
      ----------System.out:(31/1635)----------
      Stress time: 30 seconds
      Stress iterations factor: 1
      Stress threads factor: 1
      Stress runs factor: 1
      Max memory: 3713531904
      Sleep time: 500
      Iterations: 0
      Number of threads: 16
      Seed: 1566555738664
      Run GC thread: false
      Run mem diag thread: false
      Run forever: false
      The expected forest paramteres: tree height = 10 number of trees = 160 size = 6093
      java.lang.IllegalArgumentException: used = 1344763328 should be <= committed = 1039925248
      at java.management/java.lang.management.MemoryUsage.<init>(MemoryUsage.java:162)
      at java.management/sun.management.MemoryImpl.getMemoryUsage0(Native Method)
      at java.management/sun.management.MemoryImpl.getHeapMemoryUsage(MemoryImpl.java:71)
      at vm.gc.concurrent.Concurrent.getPercentInfoByMBeans(Concurrent.java:315)
      at vm.gc.concurrent.Forest.createForest(Concurrent.java:93)
      at vm.gc.concurrent.Concurrent.init(Concurrent.java:343)
      at vm.gc.concurrent.Concurrent.run(Concurrent.java:366)
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:82)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.share.gc.GC.runTest(GC.java:114)
      at vm.gc.concurrent.Concurrent.main(Concurrent.java:403)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)
      ----------System.err:(17/1095)----------
      Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
      nsk.share.TestFailure: Test exit code: 97
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:90)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.share.gc.GC.runTest(GC.java:114)
      at vm.gc.concurrent.Concurrent.main(Concurrent.java:403)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: nsk.share.TestFailure: Test exit code: 97
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: nsk.share.TestFailure: Test exit code: 97
      ----------rerun:(34/6685)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lkorinth Leo Korinth
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: