changeset 21666:918ef08589ee

6954510: TEST_BUG: Testcase failure com/sun/jdi/BreakpointWithFullGC.sh Reviewed-by: sla, sspitsyn
author egahlin
date Wed, 13 Nov 2013 18:41:30 +0100
parents 18a9cae3b4d5
children e4c61eb98292
files jdk/test/com/sun/jdi/BreakpointWithFullGC.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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