author | lagergren |
Thu, 17 Apr 2014 20:01:19 +0200 | |
changeset 24740 | 26791be09688 |
parent 24731 | ab0c8fc915ae |
permissions | -rw-r--r-- |
24719 | 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" |
|
24731
ab0c8fc915ae
8038406: Testability: as a first step of moving loggers away from the process global space, the Debug object now supports logging POJOs from log entries as an event queue, which can be introspected from test scripts. This is way better than screen scraping brittle and subject-to-change log output.
lagergren
parents:
24722
diff
changeset
|
4 |
#FLAGS="-Djava.security.manager -Djava.security.policy=../build/nashorn.policy -Dnashorn.debug" |
24719 | 5 |
|
24720 | 6 |
FILENAME="./optimistic_dual_catch_$(date|sed "s/ /_/g"|sed "s/:/_/g").jfr" |
7 |
||
24721
81f70e23cd3b
8036127: Prototype filter needs to be applied to getter guard as well, not just getter
lagergren
parents:
24720
diff
changeset
|
8 |
DIR=.. |
24740
26791be09688
8040089: Apply to call transform was incomplete. Now passes all tests and performance is back
lagergren
parents:
24731
diff
changeset
|
9 |
FAST_CATCH_COMBINATOR= |
26791be09688
8040089: Apply to call transform was incomplete. Now passes all tests and performance is back
lagergren
parents:
24731
diff
changeset
|
10 |
#$DIR/bin/fastCatchCombinator.jar |
24720 | 11 |
NASHORN_JAR=$DIR/dist/nashorn.jar |
24719 | 12 |
|
13 |
$JAVA_HOME/bin/java \ |
|
24720 | 14 |
$FLAGS \ |
24719 | 15 |
-ea \ |
16 |
-esa \ |
|
24720 | 17 |
-Xbootclasspath/p:$FAST_CATCH_COMBINATOR:$NASHORN_JAR \ |
24719 | 18 |
-Xms2G -Xmx2G \ |
19 |
-XX:+UnlockCommercialFeatures \ |
|
20 |
-XX:+FlightRecorder \ |
|
21 |
-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$FILENAME,stackdepth=1024 \ |
|
22 |
-XX:TypeProfileLevel=222 \ |
|
23 |
-XX:+UnlockExperimentalVMOptions \ |
|
24 |
-XX:+UseTypeSpeculation \ |
|
25 |
-XX:+UseMathExactIntrinsics \ |
|
26 |
-XX:+UnlockDiagnosticVMOptions \ |
|
27 |
-cp $CLASSPATH:../build/test/classes/ \ |
|
28 |
jdk.nashorn.tools.Shell ${@} |
|
29 |
||
24720 | 30 |
#-XX:+ShowHiddenFrames \ |
31 |
#-XX:+PrintOptoAssembly \ |
|
32 |
#-XX:-TieredCompilation \ |
|
33 |
#-XX:CICompilerCount=1 \ |