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

[TESTBUG] win32: gc/metaspace/TestCapacityUntilGCWrapAround.java fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u212
    • Fix Version/s: 16
    • Component/s: hotspot
    • Environment:

      32 bit

    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      x86
    • OS:
      linux, windows

      Description

      Originally filed at AdoptOpenJDK:
      https://github.com/AdoptOpenJDK/openjdk-tests/issues/1162

      The test fails on 32bit windows with:
      java.lang.IllegalStateException: WB_IncMetaspaceCapacityUntilGC: could not increase capacity until GC due to contention with another thread
              at sun.hotspot.WhiteBox.incMetaspaceCapacityUntilGC(Native Method)
              at TestCapacityUntilGCWrapAround.main(TestCapacityUntilGCWrapAround.java:51)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
              at java.lang.Thread.run(Thread.java:748)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: