runtime/reflect/ReflectOutOfMemoryError.java timed out

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • b24
    • aarch64
    • linux

      The following test timed out in the JDK21 CI:

      runtime/reflect/ReflectOutOfMemoryError.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/305)----------
      command: main ReflectOutOfMemoryError
      reason: User specified action: run main/othervm ReflectOutOfMemoryError
      started: Tue May 09 17:22:45 UTC 2023
      Mode: othervm [/othervm specified]
      Timeout information:
      --- Timeout information end.
      finished: Tue May 09 17:30:59 UTC 2023
      elapsed time (seconds): 494.307
      ----------configuration:(0/0)----------
      ----------System.out:(15/624)----------
      Starting test
      pool[42387087]=new Object(); // elapsed 40.256s
      pool[62748321]=new Object(); // elapsed 27.629s
      pool[62748322]=new Object(); // elapsed 28.75s
      pool[62764870]=new Object(); // elapsed 22.199s
      pool[62764914]=new Object(); // elapsed 20.319s
      pool[62764915]=new Object(); // elapsed 23.053s
      pool[62764916]=new Object(); // elapsed 45.309s
      pool[62764917]=new Object(); // elapsed 45.329s
      pool[62764918]=new Object(); // elapsed 44.97s
      pool[62764919]=new Object(); // elapsed 45.365s
      Memory allocation became slow: so heap seems exhausted.
      Timeout refired 480 times
      OutOfMemoryError thrown as expected.
      Test passed.
      ----------System.err:(1/15)----------
      STATUS:Passed.
      ----------rerun:(36/6121)*----------

      <snip>

      result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-21+22-1862/linux-aarch64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 494300ms).

      Please note that the test managed to PASS while the timeout
      handler was running.

            Assignee:
            Daniel Daugherty
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: