mirror of https://github.com/apache/activemq.git
remove spurious perf logging code: https://issues.apache.org/jira/browse/AMQ-3076
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1043912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f51c4cc63f
commit
426a3a17fe
|
@ -443,13 +443,7 @@ public class PageFile {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
int size = writes.size();
|
checkpointLatch.await();
|
||||||
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));
|
|
||||||
}
|
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
throw new InterruptedIOException();
|
throw new InterruptedIOException();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue