nashorn/bin/runopt.sh
changeset 24719 f726e9d67629
equal deleted inserted replaced
23083:8c74590d5df1 24719:f726e9d67629
       
     1 #!/bin/sh
       
     2 FILENAME="./optimistic_$(date|sed "s/ /_/g"|sed "s/:/_/g").jfr"
       
     3 $JAVA_HOME/bin/java -ea -Dnashorn.optimistic -Dnashorn.fastrewrite -Xms2G -Xmx2G -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$FILENAME,stackdepth=128 -XX:TypeProfileLevel=222 -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:-UseMathExactIntrinsics -Xbootclasspath/p:dist/nashorn.jar jdk.nashorn.tools.Shell ${@}