nashorn/bin/runopt_noassert.sh
author fzhinkin
Sat, 19 Jul 2014 00:30:54 +0400
changeset 25733 e80688a5d7df
parent 24741 4232289c3235
permissions -rw-r--r--
8050144: Remove '-client' from compiler/8004051/Test8004051.java's options Reviewed-by: kvn
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
FILENAME="./optimistic_noassert_$(date|sed "s/ /_/g"|sed "s/:/_/g").jfr"
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     6
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     7
DIR=..
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
     8
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
     9
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    10
$JAVA_HOME/bin/java \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    11
$FLAGS \
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:+FlightRecorder \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    16
-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$FILENAME,stackdepth=1024 \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    17
-XX:TypeProfileLevel=222 \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    18
-XX:+UnlockExperimentalVMOptions \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    19
-XX:+UseTypeSpeculation \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    20
-XX:+UseMathExactIntrinsics \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    21
-XX:+UnlockDiagnosticVMOptions \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    22
-cp $CLASSPATH:../build/test/classes/ \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    23
jdk.nashorn.tools.Shell ${@}
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    24
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    25
#-XX:+ShowHiddenFrames \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    26
#-XX:+PrintOptoAssembly \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    27
#-XX:-TieredCompilation \
4232289c3235 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
diff changeset
    28
#-XX:CICompilerCount=1 \