You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/10/05 00:33:26 UTC

svn commit: r1394304 - /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/sys/SystemTDB.java

Author: andy
Date: Thu Oct  4 22:33:26 2012
New Revision: 1394304

URL: http://svn.apache.org/viewvc?rev=1394304&view=rev
Log:
Remove wrong comented code.

Modified:
    jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/sys/SystemTDB.java

Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/sys/SystemTDB.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/sys/SystemTDB.java?rev=1394304&r1=1394303&r2=1394304&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/sys/SystemTDB.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/sys/SystemTDB.java Thu Oct  4 22:33:26 2012
@@ -316,30 +316,6 @@ public class SystemTDB
         return b ;
     }
     
-
-//	// Not in use yet.
-//    private static void determineJVMSize()
-//    {
-//        Runtime runtime = Runtime.getRuntime() ;
-//        
-//        long totalMemory = runtime.totalMemory() ;
-//        long maxMemory = runtime.maxMemory() ;
-//        int cpus = runtime.availableProcessors() ;
-//        
-//        runtime.addShutdownHook(new Thread(new SyncCacheRunnable())) ;
-//    }
-//    
-//    static class SyncCacheRunnable implements Runnable
-//    {
-//        @Override
-//        public void run()
-//        {
-//            try {
-//                StoreConnection.killActiveTransactions() ;
-//            } catch (Exception ex) {} 
-//        }
-//    }
-    
     // ---- File mode
     
     private static FileMode fileMode = null ;