[16] 8249772: (ch) Improve sun/nio/ch/TestMaxCachedBufferSize.java
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Jul 20 21:41:59 UTC 2020
To resolve [1] the proposed change [2] would:
1. Compare the ending values of the direct buffer pool count and total capacity with their respective starting values instead of with zero.
2. Replace the use of Random with a SplittableRandom obtained from RandomFactory.
3. Increase the intra-loop verbosity from 2 to 10 prints per thread.
The change would also remove the test from the problem list so that if it fails again, then more information might be available to help with fixing [3].
Thanks,
Brian
[1] https://bugs.openjdk.java.net/browse/JDK-8249772
[2] http://cr.openjdk.java.net/~bpb/8249772/webrev.00/
[3] https://bugs.openjdk.java.net/browse/JDK-8212812
More information about the nio-dev
mailing list