java.util.Date.toString() really slow?

Tom Tromey tromey@redhat.com
Tue Jun 4 11:46:00 GMT 2002


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

Jeff> Running truss on Solaris I saw thousands of failed opens per
Jeff> second, with names like lib-gnu.so, lib-gnu-java.so, etc.  My
Jeff> first attempt to fix ResourceBundle failed, so I worked around
Jeff> it by adding gnu/java/locale/Calendar_en_US.java to my build.

We definitely need to fix ResourceBundle.  It's been on my to-do list
for far too long (ever since you pointed out the problems after the
Classpath merge).  I seem to recall that the existing ResourceBundle
has correctness problems in addition to its performance problems.

Tom



More information about the Java mailing list