activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1043912 - /activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java
Date Thu, 09 Dec 2010 11:58:17 GMT
Author: gtully
Date: Thu Dec  9 11:58:17 2010
New Revision: 1043912

URL: http://svn.apache.org/viewvc?rev=1043912&view=rev
Log:
remove spurious perf logging code: https://issues.apache.org/jira/browse/AMQ-3076

Modified:
    activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java

Modified: activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java
URL: http://svn.apache.org/viewvc/activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java?rev=1043912&r1=1043911&r2=1043912&view=diff
==============================================================================
--- activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java (original)
+++ activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/PageFile.java Thu Dec  9 11:58:17
2010
@@ -443,13 +443,7 @@ public class PageFile {
             }
         }
         try {
-            int size = writes.size();
-            long start = System.currentTimeMillis();
-            checkpointLatch.await();        
-            long end = System.currentTimeMillis();
-            if( end-start > 100 ) {
-                LOG.warn("KahaDB PageFile flush: " + size + " queued writes, latch wait took
"+(end-start));
-            }
+            checkpointLatch.await();
         } catch (InterruptedException e) {
             throw new InterruptedIOException();
         }



Mime
View raw message