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

gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects"

    XMLWordPrintable

Details

    • gc
    • b12
    • x86_64
    • windows

    Backports

      Description

        The following test failed in the JDK20 CI:

        vmTestbase/gc/lock/jniref/jnilocalreflock02/TestDescription.java

        Here's a snippet from the log file:

        Starting Thread[#81,gc.lock.LockerTest$Worker@40e5fd76,5,MainThreadGroup]
        Starting Thread[#82,gc.lock.LockerTest$Worker@1ca29e16,5,MainThreadGroup]
        Exception in
        gc.lock.LockerTest$Worker@794fed6b
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        Exception in
        Exception in
        gc.lock.LockerTest$Worker@f7107ea
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        Exception in
        Exception in
        Exception in
        Exception in
        gc.lock.LockerTest$Worker@4096fc72
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        gc.lock.LockerTest$Worker@7e2fceaf
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        Exception in
        Exception in
        Exception in
        Exception in
        Exception in
        gc.lock.LockerTest$Worker@3164868f
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        Exception in
        Exception in
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        gc.lock.LockerTest$Worker@5580a850
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        gc.lock.LockerTest$Worker@f8f46ab
        java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        ----------System.err:(2/128)----------
        java.lang.OutOfMemoryError: Java heap space
        STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space
        ----------rerun:(41/6353)*----------

        Attachments

          Issue Links

            Activity

              People

                rsunderbabu Ramkumar Sunderbabu
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: