geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r332384 - /geronimo/trunk/modules/derby/src/java/org/apache/geronimo/derby/DerbySystemGBean.java
Date Thu, 10 Nov 2005 22:13:38 GMT
Author: hogstrom
Date: Thu Nov 10 14:13:29 2005
New Revision: 332384

URL: http://svn.apache.org/viewcvs?rev=332384&view=rev
Log:
GERONIMO-453 Added System.gc() per Derby recommendation in doStop and doFail

Modified:
    geronimo/trunk/modules/derby/src/java/org/apache/geronimo/derby/DerbySystemGBean.java

Modified: geronimo/trunk/modules/derby/src/java/org/apache/geronimo/derby/DerbySystemGBean.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/derby/src/java/org/apache/geronimo/derby/DerbySystemGBean.java?rev=332384&r1=332383&r2=332384&view=diff
==============================================================================
--- geronimo/trunk/modules/derby/src/java/org/apache/geronimo/derby/DerbySystemGBean.java
(original)
+++ geronimo/trunk/modules/derby/src/java/org/apache/geronimo/derby/DerbySystemGBean.java
Thu Nov 10 14:13:29 2005
@@ -69,7 +69,8 @@
         } catch (SQLException e) {
             // SQLException gets thrown on successful shutdown so ignore
         }
-        log.info("Stopped");
+        System.gc();  // Added per recommendation Derby documentation
+	log.info("Stopped");
     }
 
     public void doFail() {
@@ -78,6 +79,7 @@
         } catch (SQLException e) {
             // SQLException gets thrown on successful shutdown so ignore
         }
+        System.gc();  // Added per recommendation Derby documentation
         log.info("Failed");
     }
 



Mime
View raw message