--- old/test/com/sun/jdi/BreakpointWithFullGC.sh 2013-11-12 21:19:16.430710500 +0100 +++ new/test/com/sun/jdi/BreakpointWithFullGC.sh 2013-11-12 21:19:15.790673900 +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