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

Test nsk/jvmti/ResourceExhausted/resexhausted003 fails with java.lang.OutOfMemoryError when CDS is off

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 24
    • hotspot
    • b05

      Test
      vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java with
      -Xcomp -XX:+UnlockExperimentalVMOptions -XX:+UseCompactObjectHeaders

      the log:
      command: main -agentlib:resexhausted=-waittime=5 -Xms64m -Xmx64m -XX:MaxMetaspaceSize=9m -XX:-UseGCOverheadLimit nsk.jvmti.ResourceExhausted.resexhausted003
      reason: User specified action: run main/othervm/native -agentlib:resexhausted=-waittime=5 -Xms64m -Xmx64m -XX:MaxMetaspaceSize=9m -XX:-UseGCOverheadLimit nsk.jvmti.ResourceExhausted.resexhausted003
      started: Fri Dec 20 16:42:53 UTC 2024
      Mode: othervm [/othervm specified]
      finished: Fri Dec 20 16:43:06 UTC 2024
      elapsed time (seconds): 12.514
      ----------configuration:(0/0)----------
      ----------System.out:(18/1224)----------
      [10.098s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [10.218s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [10.346s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [10.475s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [10.593s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [10.865s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [11.124s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [11.221s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [11.345s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [11.470s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [11.701s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [11.813s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [11.930s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [12.055s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [12.152s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [12.255s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [12.367s][error][jvmti] Posting Resource Exhausted event: Metaspace
      [12.483s][error][jvmti] Posting Resource Exhausted event: Metaspace
      ----------System.err:(4/200)----------

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "MainThread"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

            lmesnik Leonid Mesnik
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: