Investigation into traces of J2SE startup time has shown a large
fraction of time spent in parsing properties files for resource
bundles. ###@###.### has pointed out that
PropertyResourceBundle will look for a class first and read a flat
file second. He has implemented a compiler translating .properties
files into .java files which can then be compiled with javac; doing
this for the AWT and Swing properties files reduces Notepad's startup
time by about 3.5%.
fraction of time spent in parsing properties files for resource
bundles. ###@###.### has pointed out that
PropertyResourceBundle will look for a class first and read a flat
file second. He has implemented a compiler translating .properties
files into .java files which can then be compiled with javac; doing
this for the AWT and Swing properties files reduces Notepad's startup
time by about 3.5%.
- relates to
-
JDK-4757212 JVM 1.4.2 regression on Sierra EE startup compared to JVM 1.3.1 in mixed mode
-
- Closed
-
-
JDK-6793429 Use compiled properties instead of plain properties for resource file
-
- Closed
-