-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b119
-
generic
-
generic
test/java/text/Bidi/Bug6665028.java uses a maximum heap of 16MB which might be too small if there is some other Java code running in the VM like a JVMTI agent or Graal.
Looking at the code of the test it seems it doesn't matter what size the Java heap has so I propose to remove the -Xmx flag from the run command:
diff -r 4be14673b9bf test/java/text/Bidi/Bug6665028.java
--- a/test/java/text/Bidi/Bug6665028.java Thu Nov 14 11:19:32 2013 +0100
+++ b/test/java/text/Bidi/Bug6665028.java Fri Nov 22 17:28:23 2013 -0800
@@ -28,7 +28,7 @@
* that this test case fails without the fix in some different ways,
* including timeout, due to the memory corruption.
* @build Bug6665028
- * @run main/othervm -Xmx16m Bug6665028 10
+ * @run main/othervm Bug6665028 10
*/
import java.awt.font.TextAttribute;
Looking at the code of the test it seems it doesn't matter what size the Java heap has so I propose to remove the -Xmx flag from the run command:
diff -r 4be14673b9bf test/java/text/Bidi/Bug6665028.java
--- a/test/java/text/Bidi/Bug6665028.java Thu Nov 14 11:19:32 2013 +0100
+++ b/test/java/text/Bidi/Bug6665028.java Fri Nov 22 17:28:23 2013 -0800
@@ -28,7 +28,7 @@
* that this test case fails without the fix in some different ways,
* including timeout, due to the memory corruption.
* @build Bug6665028
- * @run main/othervm -Xmx16m Bug6665028 10
+ * @run main/othervm Bug6665028 10
*/
import java.awt.font.TextAttribute;