From 546158fb42f5df2d7f0503de0b65cc637e1b616a Mon Sep 17 00:00:00 2001 From: Roman Kennke Date: Thu, 16 Jul 2020 15:04:58 +0200 Subject: [PATCH] 8249543: Force DirectBufferAllocTest to run with -ExplicitGCInvokesConcurrent Reviewed-by: alanb --- test/jdk/java/nio/Buffer/DirectBufferAllocTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jdk/java/nio/Buffer/DirectBufferAllocTest.java b/test/jdk/java/nio/Buffer/DirectBufferAllocTest.java index 3a4d815a0ad..ab22b693d56 100644 --- a/test/jdk/java/nio/Buffer/DirectBufferAllocTest.java +++ b/test/jdk/java/nio/Buffer/DirectBufferAllocTest.java @@ -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;