Review for 8056909: test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java fails with OOME
Joe Darcy
joe.darcy at oracle.com
Wed Oct 8 02:14:57 UTC 2014
Looks good Mandy; cheers,
-Joe
On 10/07/2014 07:05 PM, Mandy Chung wrote:
> A simple patch to take out -mx flag from the test. The test should
> use the default setting instead of setting the max heap size.
>
> Thanks
> Mandy
> ----------------
>
> diff --git
> a/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
> b/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
> --- a/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
> +++ b/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
> @@ -47,7 +47,7 @@
> * @summary Verify if CallerSensitive methods are annotated with
> * sun.reflect.CallerSensitive annotation
> * @build CallerSensitiveFinder
> - * @run main/othervm/timeout=900 -mx600m CallerSensitiveFinder
> + * @run main/othervm/timeout=900 CallerSensitiveFinder
> */
> public class CallerSensitiveFinder {
> private static int numThreads = 3;
>
More information about the core-libs-dev
mailing list