0N/AThis directory contains tools and tests associated with creating the
0N/Aclass list for class data sharing.
0N/A
0N/AThe class list is produced by running the refWorkload startup3 benchmark with
0N/Athe -verbose:class option. The -Xshare:off option must also be used so that
0N/Abootclasspath classes are loaded from rt.jar. The MakeClasslist program
0N/Ashould be built into the jar file makeclasslist.jar and is run
0N/Aon one of the logs from each of the benchmarks in the following fashion:
0N/A
0N/Acd .../results.startup3
0N/A$JAVA_HOME/bin/java -jar makeclasslist.jar results.Noop/results_1/log results.Framer/results_1/log results.XFramer/results_1/log results.JEdit/results_1/log results.LimeWire/results_1/log results.NetBeans/results_1/log
0N/A
0N/APresently, $JAVA_HOME must be the same path used to run the startup3 benchmark.
0N/A
0N/AThe logs are deliberately concatenated in roughly smallest to largest
0N/Aorder based on application size. The resulting output is redirected
0N/Ainto a file and results in one of classlist.solaris, classlist.linux,
0N/Aor classlist.windows. These files are checked in to the workspace. A
0N/Anecessary checksum (AddJsum.java) is added to the final classlist
0N/A(installed in lib/ or jre/lib/) during the build process by the
0N/Amakefiles in make/java/redist.
0N/A
0N/AIn a forthcoming JDK build we plan to manually add the dependent
0N/Aclasses for the calendar manager Glow, which pulls in the Preferences
0N/Aclasses and, on Unix platforms, the XML parsing classes.
0N/A
0N/AThe properties file supplied to the refworkload is approximately the
0N/Afollowing:
0N/A
0N/Ajavahome=/usr/java/j2sdk1.5.0
0N/Aresultsdir=classlist-run
0N/Aiterations=1
0N/Abenchmarks=startup3
0N/Aglobalvmoptions=-client -Xshare:off -verbose:class