8249543: Force DirectBufferAllocTest to run with -ExplicitGCInvokesConcurrent

Reviewed-by: alanb
This commit is contained in:
Roman Kennke 2020-07-16 15:04:58 +02:00
parent 9694ca9eaf
commit 546158fb42

View File

@ -26,7 +26,7 @@
* @bug 6857566
* @summary DirectByteBuffer garbage creation can outpace reclamation
*
* @run main/othervm -XX:MaxDirectMemorySize=128m DirectBufferAllocTest
* @run main/othervm -XX:MaxDirectMemorySize=128m -XX:-ExplicitGCInvokesConcurrent DirectBufferAllocTest
*/
import java.nio.ByteBuffer;