equal
deleted
inserted
replaced
|
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 DIR=.. |
|
6 NASHORN_JAR=$DIR/dist/nashorn.jar |
|
7 |
|
8 $JAVA_HOME/bin/java \ |
|
9 $FLAGS \ |
|
10 -ea \ |
|
11 -esa \ |
|
12 -Xbootclasspath/p:$NASHORN_JAR \ |
|
13 -Xms2G -Xmx2G \ |
|
14 -XX:+UnlockCommercialFeatures \ |
|
15 -XX:TypeProfileLevel=222 \ |
|
16 -XX:+UnlockExperimentalVMOptions \ |
|
17 -XX:+UseTypeSpeculation \ |
|
18 -XX:+UseMathExactIntrinsics \ |
|
19 -XX:+UnlockDiagnosticVMOptions \ |
|
20 -XX:+UseNewCode \ |
|
21 -cp $CLASSPATH:../build/test/classes/ \ |
|
22 jdk.nashorn.tools.Shell ${@} |
|
23 |
|
24 #-XX:+ShowHiddenFrames \ |
|
25 #-XX:+PrintOptoAssembly \ |
|
26 #-XX:-TieredCompilation \ |
|
27 #-XX:CICompilerCount=1 \ |