-
Bug
-
Resolution: Not an Issue
-
P4
-
24
-
x86_64
-
linux
The following test failed in the JDK24 CI:
java/nio/channels/FileChannel/TempDirectBuffersReclamation.java
Here's a snippet from the log file:
#section:main
----------messages:(7/327)----------
command: main TempDirectBuffersReclamation
reason: User specified action: run main/othervm TempDirectBuffersReclamation
started: Mon Sep 09 07:26:27 UTC 2024
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.management
finished: Mon Sep 09 07:26:27 UTC 2024
elapsed time (seconds): 0.537
----------configuration:(3/43)----------
Boot Layer
add modules: java.management
----------System.out:(0/0)----------
----------System.err:(17/1044)----------
java.lang.AssertionError: Direct BufferPool not same before thread activity and after thread exit.
Before: # of buffers: 0, memory used: 0
After: # of buffers: 1, memory used: 6014
at TempDirectBuffersReclamation.main(TempDirectBuffersReclamation.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.AssertionError: Direct BufferPool not same before thread activity and after thread exit.
Before: # of buffers: 0, memory used: 0
After: # of buffers: 1, memory used: 6014
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.AssertionError: Direct BufferPool not same before thread activity and after thread exit. Before: # of buffers: 0, memory used: 0 After: # of buffers: 1, memory used: 6014
----------rerun:(41/7130)*----------
java/nio/channels/FileChannel/TempDirectBuffersReclamation.java
Here's a snippet from the log file:
#section:main
----------messages:(7/327)----------
command: main TempDirectBuffersReclamation
reason: User specified action: run main/othervm TempDirectBuffersReclamation
started: Mon Sep 09 07:26:27 UTC 2024
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.management
finished: Mon Sep 09 07:26:27 UTC 2024
elapsed time (seconds): 0.537
----------configuration:(3/43)----------
Boot Layer
add modules: java.management
----------System.out:(0/0)----------
----------System.err:(17/1044)----------
java.lang.AssertionError: Direct BufferPool not same before thread activity and after thread exit.
Before: # of buffers: 0, memory used: 0
After: # of buffers: 1, memory used: 6014
at TempDirectBuffersReclamation.main(TempDirectBuffersReclamation.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.AssertionError: Direct BufferPool not same before thread activity and after thread exit.
Before: # of buffers: 0, memory used: 0
After: # of buffers: 1, memory used: 6014
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.AssertionError: Direct BufferPool not same before thread activity and after thread exit. Before: # of buffers: 0, memory used: 0 After: # of buffers: 1, memory used: 6014
----------rerun:(41/7130)*----------
- relates to
-
JDK-8344882 (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory
-
- Resolved
-