2014-02-26 13:17:57 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#FLAGS="-Djava.lang.invoke.MethodHandle.COMPILE_THRESHOLD=3 -Djava.lang.invoke.MethodHandle.DUMP_CLASS_FILES=true -Djava.lang.invoke.MethodHandle.TRACE_METHOD_LINKAGE=true -Djava.lang.invoke.MethodHandle.TRACE_INTERPRETER=true"
|
|
|
|
|
2014-04-18 20:12:21 +02:00
|
|
|
FILENAME="./optimistic_noassert_$(date|sed "s/ /_/g"|sed "s/:/_/g").jfr"
|
2014-03-03 11:24:44 +01:00
|
|
|
|
2014-03-05 09:51:00 +01:00
|
|
|
DIR=..
|
2014-03-03 11:24:44 +01:00
|
|
|
NASHORN_JAR=$DIR/dist/nashorn.jar
|
2014-02-26 13:17:57 +01:00
|
|
|
|
|
|
|
$JAVA_HOME/bin/java \
|
2014-03-03 11:24:44 +01:00
|
|
|
$FLAGS \
|
2014-04-18 20:12:21 +02:00
|
|
|
-Xbootclasspath/p:$NASHORN_JAR \
|
2014-02-26 13:17:57 +01:00
|
|
|
-Xms2G -Xmx2G \
|
|
|
|
-XX:+UnlockCommercialFeatures \
|
|
|
|
-XX:+FlightRecorder \
|
|
|
|
-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$FILENAME,stackdepth=1024 \
|
|
|
|
-XX:TypeProfileLevel=222 \
|
|
|
|
-XX:+UnlockExperimentalVMOptions \
|
|
|
|
-XX:+UseTypeSpeculation \
|
|
|
|
-XX:+UseMathExactIntrinsics \
|
|
|
|
-XX:+UnlockDiagnosticVMOptions \
|
|
|
|
-cp $CLASSPATH:../build/test/classes/ \
|
|
|
|
jdk.nashorn.tools.Shell ${@}
|
|
|
|
|
2014-03-03 11:24:44 +01:00
|
|
|
#-XX:+ShowHiddenFrames \
|
|
|
|
#-XX:+PrintOptoAssembly \
|
|
|
|
#-XX:-TieredCompilation \
|
|
|
|
#-XX:CICompilerCount=1 \
|