changeset 2119:7136683a33d2

6923976: TestProviderLeak.java is using too small of an initial heap under newer Hotspot (b79+) Reviewed-by: ohair
author wetmore
date Fri, 05 Feb 2010 17:05:53 -0800
parents a39e899aa5dc
children 445b9928fb70
files test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java	Fri Feb 05 00:10:42 2010 -0800
+++ b/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
  */
 
 /*