nashorn/bin/runoptdualcatch.sh
changeset 24719 f726e9d67629
child 24720 75f8388b79df
equal deleted inserted replaced
23083:8c74590d5df1 24719:f726e9d67629
       
     1 #!/bin/sh
       
     2 
       
     3 #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"
       
     4 
       
     5 FILENAME="./optimistic_dual_catch$(date|sed "s/ /_/g"|sed "s/:/_/g").jfr"
       
     6 
       
     7 $JAVA_HOME/bin/java \
       
     8 -ea \
       
     9 -esa \
       
    10 $FLAGS \
       
    11 -Dnashorn.fastrewrite \
       
    12 -Dnashorn.optimistic \
       
    13 -Xbootclasspath/p:/Users/marcus/src/tip/dist/nashorn.jar \
       
    14 -Xms2G -Xmx2G \
       
    15 -XX:+UnlockCommercialFeatures \
       
    16 -XX:+FlightRecorder \
       
    17 -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$FILENAME,stackdepth=1024 \
       
    18 -XX:TypeProfileLevel=222 \
       
    19 -XX:+UnlockExperimentalVMOptions \
       
    20 -XX:+UseTypeSpeculation \
       
    21 -XX:+UseMathExactIntrinsics \
       
    22 -XX:+UnlockDiagnosticVMOptions \
       
    23 -cp $CLASSPATH:../build/test/classes/ \
       
    24 jdk.nashorn.tools.Shell ${@}
       
    25