8000268: sun/security/provider/X509Factory/BigCRL.java testing on Linux 32-bit

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 2 10:22:34 UTC 2012


This test has been failing intermittently for me on 32-bit systems since 
jdk8/tl picked up the perm gen removal work a few days ago.

The test uses a 1GB heap and it doesn't seem to be possible to reduce it 
too much as it needs a largish heap on 64-bit systems. Any objection if 
I change the test to run without CDS? That allows the VM to reserve the 
1GB. This is just a workaround for now, the alternative is to exclude it 
by putting it on the ProblemList.

Thanks,

-Alan


diff --git a/test/sun/security/provider/X509Factory/BigCRL.java 
b/test/sun/security/provider/X509Factory/BigCRL.java
--- a/test/sun/security/provider/X509Factory/BigCRL.java
+++ b/test/sun/security/provider/X509Factory/BigCRL.java
@@ -25,7 +25,7 @@
   * @test
   * @bug 7099399
   * @summary cannot deal with CRL file larger than 16MB
- * @run main/othervm -Xmx1024m BigCRL
+ * @run main/othervm -Xshare:off -Xmx1024m BigCRL
   */

  import java.io.FileInputStream;




More information about the security-dev mailing list