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

metaspace/flags/maxMetaspaceSize throws OOM: out of Compressed Klass space

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: hs25
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b53

      Backports

        Description

        Above test failed on Windows 32 bit with the mentioned error message

        [2013-09-24T04:05:42.36] nsk.share.TestBug: Test throw OOM of unexpected type.java.lang.OutOfMemoryError: Compressed class space
        [2013-09-24T04:05:42.36] at java.lang.ClassLoader.defineClass1(Native Method)
        [2013-09-24T04:05:42.36] at java.lang.ClassLoader.defineClass(ClassLoader.java:752)
        [2013-09-24T04:05:42.36] at java.lang.ClassLoader.defineClass(ClassLoader.java:634)

        [...]

        Command line:

        java -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:+UseParallelGC -XX:+UseParallelOldGC -Xms120m -XX:MaxRAMFraction=8 -XX:+UseNUMA -XX:MaxMetaspaceSize=100m metaspace.flags.maxMetaspaceSize.maxMetaspaceSize -stressTime 30 -stressThreadsFactor 5

        We don't use Compressed class space on Windows 32 bit. We should make sure that we put the correct reason string into the OutOfMemoryError.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mgerdin Mikael Gerdin (Inactive)
                  Reporter:
                  tschatzl Thomas Schatzl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: