-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
sparc
-
solaris_7
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.
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.
- duplicates
-
JDK-4503732 (cs) Charset API redesign
-
- Resolved
-
- relates to
-
JDK-4493288 performance regression in MultiUIDefaults.get
-
- Closed
-