nashorn/bin/runopt_nojfr.sh
author chegar
Sun, 17 Aug 2014 15:51:56 +0100
changeset 25868 686eef1e7a79
parent 24741 4232289c3235
permissions -rw-r--r--
8054834: Modular Source Code Reviewed-by: alanb, chegar, ihse, mduigou Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24741
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     1
#!/bin/sh
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     2
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     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"
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     4
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     5
DIR=..
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     6
NASHORN_JAR=$DIR/dist/nashorn.jar
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     7
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     8
$JAVA_HOME/bin/java \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     9
$FLAGS \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    10
-ea \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    11
-esa \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    12
-Xbootclasspath/p:$NASHORN_JAR \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    13
-Xms2G -Xmx2G \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    14
-XX:+UnlockCommercialFeatures \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    15
-XX:TypeProfileLevel=222 \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    16
-XX:+UnlockExperimentalVMOptions \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    17
-XX:+UseTypeSpeculation \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    18
-XX:+UseMathExactIntrinsics \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    19
-XX:+UnlockDiagnosticVMOptions \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    20
-XX:+UseNewCode \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    21
-cp $CLASSPATH:../build/test/classes/ \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    22
jdk.nashorn.tools.Shell ${@}
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    23
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    24
#-XX:+ShowHiddenFrames \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    25
#-XX:+PrintOptoAssembly \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    26
#-XX:-TieredCompilation \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    27
#-XX:CICompilerCount=1 \