blob: 146cc94487469fd684ecb5292a1779812005f3ef [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001This directory contains tools and tests associated with creating the
2class list for class data sharing.
3
4The class list is produced by running the refWorkload startup3 benchmark with
5the -verbose:class option. The -Xshare:off option must also be used so that
6bootclasspath classes are loaded from rt.jar. The MakeClasslist program
7should be built into the jar file makeclasslist.jar and is run
8on one of the logs from each of the benchmarks in the following fashion:
9
10cd .../results.startup3
11$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
12
13Presently, $JAVA_HOME must be the same path used to run the startup3 benchmark.
14
15The logs are deliberately concatenated in roughly smallest to largest
16order based on application size. The resulting output is redirected
17into a file and results in one of classlist.solaris, classlist.linux,
18or classlist.windows. These files are checked in to the workspace. A
19necessary checksum (AddJsum.java) is added to the final classlist
20(installed in lib/ or jre/lib/) during the build process by the
21makefiles in make/java/redist.
22
23In a forthcoming JDK build we plan to manually add the dependent
24classes for the calendar manager Glow, which pulls in the Preferences
25classes and, on Unix platforms, the XML parsing classes.
26
27The properties file supplied to the refworkload is approximately the
28following:
29
30javahome=/usr/java/j2sdk1.5.0
31resultsdir=classlist-run
32iterations=1
33benchmarks=startup3
34globalvmoptions=-client -Xshare:off -verbose:class