Node: Invoking gen-spec-ovm, Next: , Previous: Invoking gen-ovm, Up: Top



Invoking gen-spec-ovm

     gen-spec-ovm option* --? gen-ovm option*
     

gen-spec-ovm is a thin wrapper around gen-ovm that builds a virtual machine to execute the SPECjvm98 benchmark suite. gen-spec-ovm knows the magic incantations needed to compile SPECjvm98 inside Ovm, and achieve the best performance. gen-spec-ovm can also pass configuration options on to gen-ovm.

gen-spec-ovm takes three options:

--spec-dir=directory
Gives the path to the SPECjvm98 directory.. The default value (/p/sss/project/SPECjvm98) works within Purdue.
--test=list
where list is a comma seperated list of benchmarks to compile. By default, all benchmarks are compiled into a single executable, but gen-spec-ovm --test=javac only compiles _213_javac.
--applive
Invoke gen-ovm with -app-methods-live rather than -ud-reflective-methods=....

Option processing stops after --, or before the first argument not prefixed by --, and remaining arguments are passed to gen-ovm.

The following example, when run from the SPECjvm98 directory, will execute a single iteration of the _213_javac benchmark:

     > mkdir bin
     > cd bin
     > gen-spec-ovm --spec-dir=..
     > cd ..
     > ./bin/ovm bin/img SpecApplication -s100 _213_javac