db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chaa...@apache.org
Subject svn commit: r666226 - /db/derby/docs/trunk/src/devguide/tdevdvlp20349.dita
Date Tue, 10 Jun 2008 17:33:08 GMT
Author: chaase3
Date: Tue Jun 10 10:33:07 2008
New Revision: 666226

URL: http://svn.apache.org/viewvc?rev=666226&view=rev
Log:
DERBY-3612: Developer's Guide needs correction on garbage collection

Modified one topic so that it no longer provides the incorrect information
described. It may still need some fixes.

Patch: DERBY-3612.diff

Modified:
    db/derby/docs/trunk/src/devguide/tdevdvlp20349.dita

Modified: db/derby/docs/trunk/src/devguide/tdevdvlp20349.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/tdevdvlp20349.dita?rev=666226&r1=666225&r2=666226&view=diff
==============================================================================
--- db/derby/docs/trunk/src/devguide/tdevdvlp20349.dita (original)
+++ db/derby/docs/trunk/src/devguide/tdevdvlp20349.dita Tue Jun 10 10:33:07 2008
@@ -41,10 +41,12 @@
 the JVM needs to unload <i>org.apache.derby.jdbc.EmbeddedDriver</i>, so that
 it can reload it when it restarts <ph conref="../conrefs.dita#prod/productshortname"></ph>.
 (Loading the local driver starts <ph conref="../conrefs.dita#prod/productshortname"></ph>.)
</p><p>You
-cannot explicitly request that the JVM unload a class, but you can ensure
-that the <i>EmbeddedDriver</i> class is unloaded by using a <codeph><i>System.gc()</i></codeph>
to
-force it to garbage collect classes that are no longer needed. Running with <codeph><i>-nogc</i></codeph>
or <codeph><i>-noclassgc</i></codeph> definitely <i
->prevents</i> the class from being unloaded and makes you unable to restart <ph
+cannot request that the JVM unload a specific class, but you can ask it to
+unload the <i>EmbeddedDriver</i> class by calling
+<codeph><i>System.gc()</i></codeph> to request it to garbage collect
classes
+that are no longer needed. Running with the non-standard option 
+<codeph><i>-Xnoclassgc</i></codeph> definitely <i>prevents</i>
the class from
+being unloaded and makes you unable to restart <ph
 conref="../conrefs.dita#prod/productshortname"></ph> in the same JVM. </p><p>It
 is also possible to shut down a single database instead of the entire <ph
 conref="../conrefs.dita#prod/productshortname"></ph> system. See <xref href="tdevdvlp40464.dita#tdevdvlp40464"></xref>.



Mime
View raw message