author | mcherkas |
Tue, 12 Aug 2014 19:02:51 +0400 | |
changeset 26345 | 3586cdbe1c58 |
parent 24741 | 4232289c3235 |
permissions | -rw-r--r-- |
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 \ |