Author: toad
Date: 2008-09-26 18:22:03 +0000 (Fri, 26 Sep 2008)
New Revision: 22847

Modified:
   branches/db4o/freenet/src/freenet/node/Node.java
Log:
Fix comments


Modified: branches/db4o/freenet/src/freenet/node/Node.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/Node.java    2008-09-26 17:34:11 UTC 
(rev 22846)
+++ branches/db4o/freenet/src/freenet/node/Node.java    2008-09-26 18:22:03 UTC 
(rev 22847)
@@ -248,11 +248,7 @@
        /** db4o database for node and client layer.
         * Other databases can be created for the datastore (since its usage
         * patterns and content are completely different), or for plugins (for
-        * security reasons).
-        * 
-        * This is an internal server, specific parts of the code can create
-        * ObjectContainer's from it. Be careful to refresh objects on any
-        * long-lived container! */
+        * security reasons). */
        public final ObjectContainer db;
        /** A fixed random number which identifies the top-level objects 
belonging to
         * this node, as opposed to any others that might be stored in the same 
database
@@ -819,9 +815,7 @@
                shutdownHook = new SemiOrderedShutdownHook();
                Runtime.getRuntime().addShutdownHook(shutdownHook);

-               /* FIXME: this may throw if e.g. we ran out of disk space last 
time.
-                * We need to back it up and auto-recover. */
-               /* Client-server mode. Refresh objects if you have a long-lived 
container! */
+               /* FIXME: Backup the database! */
                /* On my db4o test node with lots of downloads, and several 
days old, com.db4o.internal.freespace.FreeSlotNode
                 * used 73MB out of the 128MB limit (117MB used). This memory 
was not reclaimed despite constant garbage collection.
                 * This is unacceptable! */


Reply via email to