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

ZGC: gc/z/TestUncommit.java fails with java.lang.Exception: Uncommitted too fast

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b06

      Description

      Test gc/z/TestUncommit.java failed once in JDK 14 b27 on Windows 2019.
      Log:
      ----------System.out:(75/1922)----------
      Iteration 0
        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 4096
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 264241152
         Before Uncommit: 247463936
          After Uncommit: 134217728

        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 2097152
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 459276288
         Before Uncommit: 444596224
          After Uncommit: 134217728

        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 209715200
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 262144000
         Before Uncommit: 262144000
          After Uncommit: 134217728

      Iteration 1
        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 4096
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 270532608
         Before Uncommit: 253755392
          After Uncommit: 134217728

        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 2097152
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 459276288
         Before Uncommit: 459276288
          After Uncommit: 134217728

        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 209715200
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 253755392
         Before Uncommit: 230686720
          After Uncommit: 134217728

      Iteration 2
        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 4096
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 270532608
         Before Uncommit: 243269632
          After Uncommit: 134217728

        Uncommit Enabled: true
          Uncommit Delay: 10
             Object Size: 2097152
              Alloc Size: 209715200
            Before Alloc: 134217728
             After Alloc: 459276288
         Before Uncommit: 134217728
          After Uncommit: 134217728

      ----------System.err:(14/848)----------
      java.lang.Exception: Uncommitted too fast
      at gc.z.TestUncommit.test(TestUncommit.java:96)
      at gc.z.TestUncommit.main(TestUncommit.java:125)
      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:832)

      JavaTest Message: Test threw exception: java.lang.Exception: Uncommitted too fast
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pliden Per Liden
                Reporter:
                lmesnik Leonid Mesnik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: