6923976: TestProviderLeak.java is using too small of an initial heap under newer Hotspot (b79+)
Reviewed-by: ohair
--- a/jdk/test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java Fri Feb 05 00:10:42 2010 -0800
+++ b/jdk/test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java Fri Feb 05 17:05:53 2010 -0800
@@ -28,7 +28,12 @@
* LoginContext
* @author Brad Wetmore
*
- * @run main/othervm -Xmx2m TestProviderLeak
+ * @run main/othervm -Xmx2m -XX:OldSize=1m -XX:NewSize=512k TestProviderLeak
+ *
+ * The original test invocation is below, but had to use the above
+ * workaround for bug 6923123.
+ *
+ * run main/othervm -Xmx2m TestProviderLeak
*/
/*