User: user57 Date: 01/07/09 15:58:59 Modified: src/main/org/jboss/util Info.java Log: o added a simple log message before running the gc(), should probably also log the before/after memory stats. Revision Changes Path 1.12 +4 -1 jboss/src/main/org/jboss/util/Info.java Index: Info.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/util/Info.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Info.java 2001/07/09 22:55:06 1.11 +++ Info.java 2001/07/09 22:58:59 1.12 @@ -20,7 +20,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Rickard Öberg</a>. * @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a>. * @author <a href="mailto:[EMAIL PROTECTED]">Hiram Chirino</a>. - * @version $Revision: 1.11 $ + * @version $Revision: 1.12 $ */ public class Info implements InfoMBean, MBeanRegistration @@ -118,7 +118,10 @@ buff.append("<h3>Before</h3>"); buff.append(listMemoryUsage()); buff.append("<h3>After</h3>"); + + log.info("hinting the VM to run the garbage collector"); System.gc(); + buff.append(listMemoryUsage()); return buff.toString(); } _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development