author | lagergren |
Wed, 23 Apr 2014 17:37:41 +0200 | |
changeset 24745 | 3a6e1477362b |
parent 24741 | 4232289c3235 |
child 24759 | 31aed7d9c02a |
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 |
|
24741
4232289c3235
8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
24740
diff
changeset
|
6 |
FILENAME="./optimistic_$(date|sed "s/ /_/g"|sed "s/:/_/g").jfr" |
24720 | 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=.. |
24720 | 9 |
NASHORN_JAR=$DIR/dist/nashorn.jar |
24719 | 10 |
|
11 |
$JAVA_HOME/bin/java \ |
|
24720 | 12 |
$FLAGS \ |
24719 | 13 |
-ea \ |
14 |
-esa \ |
|
24741
4232289c3235
8040102: Remove all references to Unsafe and definition of anonymous clases from the code
lagergren
parents:
24740
diff
changeset
|
15 |
-Xbootclasspath/p:$NASHORN_JAR \ |
24719 | 16 |
-Xms2G -Xmx2G \ |
17 |
-XX:+UnlockCommercialFeatures \ |
|
18 |
-XX:+FlightRecorder \ |
|
19 |
-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$FILENAME,stackdepth=1024 \ |
|
20 |
-XX:TypeProfileLevel=222 \ |
|
21 |
-XX:+UnlockExperimentalVMOptions \ |
|
22 |
-XX:+UseTypeSpeculation \ |
|
23 |
-XX:+UseMathExactIntrinsics \ |
|
24 |
-XX:+UnlockDiagnosticVMOptions \ |
|
25 |
-cp $CLASSPATH:../build/test/classes/ \ |
|
26 |
jdk.nashorn.tools.Shell ${@} |
|
27 |
||
24745
3a6e1477362b
8041434: Add synchronization to the common global constants structure
lagergren
parents:
24741
diff
changeset
|
28 |
#-Djava.security.manager= -Djava.security.policy=$DIR/build/nashorn.policy \ |
24720 | 29 |
#-XX:+ShowHiddenFrames \ |
30 |
#-XX:+PrintOptoAssembly \ |
|
31 |
#-XX:-TieredCompilation \ |
|
32 |
#-XX:CICompilerCount=1 \ |