bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/30544] New: Feature Request: java.util.logging.FileHandle


From: npremji at redhat dot com
Subject: [Bug classpath/30544] New: Feature Request: java.util.logging.FileHandler better unique file id searching.
Date: 22 Jan 2007 16:41:13 -0000

The FileHandler currently searches for a unique file by adding 1 to the unique
id until the file no longer exists. 

When there are a lot of generated log files this is inefficient. 

To make this more efficient a binary search might be more appropriate.
For example doubling the unique id until the file does not exist, and then
using that as an upper limit, with the previous existing file name as a lower
limit and then binary searching for the first unused id number.


-- 
           Summary: Feature Request: java.util.logging.FileHandler better
                    unique file id searching.
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: npremji at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30544





reply via email to

[Prev in Thread] Current Thread [Next in Thread]