--- 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