-
Bug
-
Resolution: Fixed
-
P4
-
21
-
b17
-
x86_64
-
os_x
The following test times out in the JDK21 CI:
com/sun/jdi/ThreadMemoryLeakTest.java
Here's a snippet from the log file:
----------System.err:(20/1009)----------
[3ms] run args: [ThreadMemoryLeakTarg]
[1533ms] Got ThreadStartEvent #1000 threads:308
[1882ms] Got ThreadDeathEvent #1000 threads:260
[2483ms] Got ThreadStartEvent #2000 threads:388
[2855ms] Got ThreadDeathEvent #2000 threads:409
[3598ms] Got ThreadStartEvent #3000 threads:184
[3763ms] Got ThreadDeathEvent #3000 threads:305
[4569ms] Got ThreadStartEvent #4000 threads:443
[4879ms] Got ThreadDeathEvent #4000 threads:389
[5526ms] Got ThreadStartEvent #5000 threads:400
[5683ms] Got ThreadDeathEvent #5000 threads:264
[6717ms] Got ThreadStartEvent #6000 threads:330
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "output reader"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "JDI Target VM Interface"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "process reaper (pid 49716)"
----------rerun:(39/6062)*----------
<snip>
result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+15-1199/macosx-x64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 1196969ms).
com/sun/jdi/ThreadMemoryLeakTest.java
Here's a snippet from the log file:
----------System.err:(20/1009)----------
[3ms] run args: [ThreadMemoryLeakTarg]
[1533ms] Got ThreadStartEvent #1000 threads:308
[1882ms] Got ThreadDeathEvent #1000 threads:260
[2483ms] Got ThreadStartEvent #2000 threads:388
[2855ms] Got ThreadDeathEvent #2000 threads:409
[3598ms] Got ThreadStartEvent #3000 threads:184
[3763ms] Got ThreadDeathEvent #3000 threads:305
[4569ms] Got ThreadStartEvent #4000 threads:443
[4879ms] Got ThreadDeathEvent #4000 threads:389
[5526ms] Got ThreadStartEvent #5000 threads:400
[5683ms] Got ThreadDeathEvent #5000 threads:264
[6717ms] Got ThreadStartEvent #6000 threads:330
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "output reader"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "JDI Target VM Interface"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "process reaper (pid 49716)"
----------rerun:(39/6062)*----------
<snip>
result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+15-1199/macosx-x64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 1196969ms).
- relates to
-
JDK-8297638 Memory leak in case of many started-dead threads
-
- Resolved
-
-
JDK-8304436 com/sun/jdi/ThreadMemoryLeakTest.java fails with "OutOfMemoryError: Java heap space" with ZGC
-
- Resolved
-