RFR: 8344332: (bf) Migrate DirectByteBuffer to use java.lang.ref.Cleaner [v6]
Aleksey Shipilev
shade at openjdk.org
Wed Jan 22 08:50:38 UTC 2025
On Tue, 21 Jan 2025 14:31:33 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> No stress test failures so far...
I ran a large matrix of `DirectBufferAllocTest` configs on my 5950X overnight, and it did not fail once. Several GHA re-runs also came back clean. This gives me confidence current version works well.
#!/bin/bash
set -euxo pipefail
J=~/trunks/jdk/build/linux-x86_64-server-release/images/jdk/bin/java
JOPTS="-Xmx128m -Xlog:gc"
for T in 1 4 16 64 256 1024; do
for M in 1 2 4 8 16 32 64 128 256; do
$J $JOPTS -XX:MaxDirectMemorySize=${M}m DirectBufferAllocTest.java -r 800 -t $T
done
done
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22165#issuecomment-2606622780
More information about the nio-dev
mailing list