Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4493546
Votes 0
Synopsis Loading Properties files significantly slower than in 1.3.1
Category java:classes_util
Reported Against merlin-beta
Release Fixed
State 11-Closed, duplicate of 4503732, bug
Priority: 2-High
Related Bugs 4493288 , 4503732
Submit Date 17-AUG-2001
Description
Creating and loading a Properties file is significantly slower on 1.4 (beta_refresh build 76) than 1.3.1.

My machine:
SunOS zoz 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60

I've attached a test case, pass in an arg gives the number of times to load the properties file. I've also attached the properties file I used, which is one of the property files swing loads.
Running it with an arg of 1 on 1.3.1 results in a time of 7, and 1.4 a time of 110. Part of this discrepency is likely because of the additional classes in 1.4. Running it with an arg of 100 on 1.3.1 results in a best time of 205, vs 450 on 1.4.

Note: This may in fact be a bug in io/nio but is manifesting itself in loading of properties files.
Work Around
N/A
Evaluation
Fixed by the Charset API redesign (4503732).  --   xxxxx@xxxxx   2001/10/3
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang