6954510: TEST_BUG: Testcase failure com/sun/jdi/BreakpointWithFullGC.sh
authoregahlin
Wed, 13 Nov 2013 18:41:30 +0100
changeset 21666 918ef08589ee
parent 21665 18a9cae3b4d5
child 21667 e4c61eb98292
6954510: TEST_BUG: Testcase failure com/sun/jdi/BreakpointWithFullGC.sh Reviewed-by: sla, sspitsyn
jdk/test/com/sun/jdi/BreakpointWithFullGC.sh
--- a/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh	Wed Nov 13 16:52:18 2013 +0000
+++ b/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh	Wed Nov 13 18:41:30 2013 +0100
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 #
-# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2009, 2013 Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -62,6 +62,7 @@
             System.out.println("top of loop");     // @1 breakpoint
             init(1000000);
             objList.clear();
+            System.gc();
             System.out.println("bottom of loop");  // @1 breakpoint
         }
         System.out.println("end of test");         // @1 breakpoint