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

gc/epsilon/TestMemoryMXBeans.java fails with java.lang.IllegalStateException: Allocation did not change used space right: 4194328 should be in [4194312, 4194320]

    Details

    • Subcomponent:
      gc

      Description

      Test fails intermittently.
      Here is tail of log"
      #section:build
      ----------messages:(3/100)----------
      command: build TestMemoryMXBeans
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(5/443)----------
      command: main -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xms128m -Xmx1g TestMemoryMXBeans 128 1024
      reason: User specified action: run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xms128m -Xmx1g TestMemoryMXBeans 128 1024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      elapsed time (seconds): 0.79
      ----------configuration:(4/111)----------
      Boot Layer
        add modules: java.base java.management
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(0/0)----------
      ----------System.err:(14/1074)----------
      java.lang.IllegalStateException: Allocation did not change used space right: 4196368 should be in [4194312, 4194320]
      at TestMemoryMXBeans.testAllocs(TestMemoryMXBeans.java:91)
      at TestMemoryMXBeans.main(TestMemoryMXBeans.java:52)
      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:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.IllegalStateException: Allocation did not change used space right: 4196368 should be in [4194312, 4194320]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Allocation did not change used space right: 4196368 should be in [4194312, 4194320]
      ----------rerun:(33/2602)*----------
      cd /scratch/lmesnik/ws/sbr/18/linux-x64/results/run_85/tier1/JTwork/hotspot_jtreg_0/gc/epsilon/TestMemoryMXBeans && \\
      CPAPPEND=/home/lmesnik/ws/sbr/18/linux-x64/tools/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar \\
      HOME=/home/lmesnik \\
      JIB_DATA_DIR=/home/lmesnik/ws/sbr/18/linux-x64/tools/jib-cache \\
      JIB_LOG_LEVEL=trace \\
      JTREG_HOME=/home/lmesnik/ws/sbr/18/linux-x64/tools/jtreg \\
      LANG=en_US.UTF-8 \\
      PATH=/bin:/usr/bin \\
      TZ=PST8PDT \\
      CLASSPATH=/scratch/lmesnik/ws/sbr/18/linux-x64/results/run_85/tier1/JTwork/hotspot_jtreg_0/classes/0/gc/epsilon/TestMemoryMXBeans.d:/scratch/lmesnik/ws/sbr/18/linux-x64/jdk-tested/ws/open/test/hotspot/jtreg/gc/epsilon:/home/lmesnik/ws/sbr/18/linux-x64/tools/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar:/scratch/lmesnik/ws/sbr/18/linux-x64/tools/jtreg/lib/javatest.jar:/scratch/lmesnik/ws/sbr/18/linux-x64/tools/jtreg/lib/jtreg.jar \\
          /home/lmesnik/ws/sbr/18/linux-x64/jdk-tested/jdk-11/fastdebug/bin/java \\
              -Dtest.src=/scratch/lmesnik/ws/sbr/18/linux-x64/jdk-tested/ws/open/test/hotspot/jtreg/gc/epsilon \\
              -Dtest.src.path=/scratch/lmesnik/ws/sbr/18/linux-x64/jdk-tested/ws/open/test/hotspot/jtreg/gc/epsilon \\
              -Dtest.classes=/scratch/lmesnik/ws/sbr/18/linux-x64/results/run_85/tier1/JTwork/hotspot_jtreg_0/classes/0/gc/epsilon/TestMemoryMXBeans.d \\
              -Dtest.class.path=/scratch/lmesnik/ws/sbr/18/linux-x64/results/run_85/tier1/JTwork/hotspot_jtreg_0/classes/0/gc/epsilon/TestMemoryMXBeans.d \\
              -Dtest.vm.opts=-XX:MaxRAMPercentage=2 \\
              -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=2 \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts= \\
              -Dtest.jdk=/home/lmesnik/ws/sbr/18/linux-x64/jdk-tested/jdk-11/fastdebug \\
              -Dcompile.jdk=/home/lmesnik/ws/sbr/18/linux-x64/jdk-tested/jdk-11/fastdebug \\
              -Dtest.timeout.factor=10.0 \\
              -Dtest.modules='java.base/jdk.internal.misc java.management' \\
              -Dtest.nativepath=/home/lmesnik/ws/sbr/18/linux-x64/jdk-tested/test-image/hotspot/jtreg/native \\
              --add-modules java.base,java.management \\
              --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \\
              -XX:MaxRAMPercentage=2 \\
              -Djava.library.path=/home/lmesnik/ws/sbr/18/linux-x64/jdk-tested/test-image/hotspot/jtreg/native \\
              -XX:+UnlockExperimentalVMOptions \\
              -XX:+UseEpsilonGC \\
              -Xms128m \\
              -Xmx1g \\
              com.sun.javatest.regtest.agent.MainWrapper /scratch/lmesnik/ws/sbr/18/linux-x64/results/run_85/tier1/JTwork/hotspot_jtreg_0/gc/epsilon/TestMemoryMXBeans.d/main.3.jta 128 1024
      result: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Allocation did not change used space right: 4196368 should be in [4194312, 4194320]


      test result: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Allocation did not change used space right: 4196368 should be in [4194312, 4194320]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shade Aleksey Shipilev
                Reporter:
                lmesnik Leonid Mesnik
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: