Author: toad
Date: 2006-12-15 20:12:35 +0000 (Fri, 15 Dec 2006)
New Revision: 11419

Modified:
   trunk/freenet/src/freenet/support/FileLoggerHook.java
Log:
... with heap profiling on

Modified: trunk/freenet/src/freenet/support/FileLoggerHook.java
===================================================================
--- trunk/freenet/src/freenet/support/FileLoggerHook.java       2006-12-15 
20:11:16 UTC (rev 11418)
+++ trunk/freenet/src/freenet/support/FileLoggerHook.java       2006-12-15 
20:12:35 UTC (rev 11419)
@@ -837,7 +837,7 @@
                                        try {
                                                ss = (byte[]) 
(list.removeFirst());
                                        } catch (NoSuchElementException e) {
-                                               // Yes I know this is 
impossible but it happens with 1.6
+                                               // Yes I know this is 
impossible but it happens with 1.6 with heap profiling enabled
                                                noElementCount++;
                                                if(noElementCount > 1000) {
                                                        
System.err.println("Lost log line because of constant 
NoSuchElementException's");


Reply via email to