author | coleenp |
Wed, 15 Nov 2017 08:14:56 -0500 | |
changeset 47895 | a879c04d61ea |
parent 47216 | 71c04702a3d5 |
child 50708 | bd3a8f48597e |
permissions | -rw-r--r-- |
27102
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
1 |
#!/bin/sh |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
2 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
3 |
# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
4 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
5 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
6 |
# This code is free software; you can redistribute it and/or modify it |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
7 |
# under the terms of the GNU General Public License version 2 only, as |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
8 |
# published by the Free Software Foundation. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
9 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
10 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
11 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
12 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
13 |
# version 2 for more details (a copy is included in the LICENSE file that |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
14 |
# accompanied this code). |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
15 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
16 |
# You should have received a copy of the GNU General Public License version |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
17 |
# 2 along with this work; if not, write to the Free Software Foundation, |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
18 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
19 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
20 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
21 |
# or visit www.oracle.com if you need additional information or have any |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
22 |
# questions. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
23 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
24 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
25 |
########################################################################################### |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
26 |
# This is a helper script to evaluate nashorn with optimistic types |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
27 |
# it produces a flight recording for every run, and uses the best |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
28 |
# known flags for performance for the current configration |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
29 |
########################################################################################### |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
30 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
31 |
# Flags to enable assertions, we need the system assertions too, since |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
32 |
# this script runs Nashorn in the BCP to override any nashorn.jar that might |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
33 |
# reside in your $JAVA_HOME/jre/lib/ext/nashorn.jar |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
34 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
35 |
ENABLE_ASSERTIONS_FLAGS="-ea -esa" |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
36 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
37 |
# Flags to instrument lambdaform computation, caching, interpretation and compilation |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
38 |
# Default compile threshold for lambdaforms is 30 |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
39 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
40 |
#LAMBDAFORM_FLAGS="\ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
41 |
# -Djava.lang.invoke.MethodHandle.COMPILE_THRESHOLD=3 \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
42 |
# -Djava.lang.invoke.MethodHandle.DUMP_CLASS_FILES=true \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
43 |
# -Djava.lang.invoke.MethodHandle.TRACE_METHOD_LINKAGE=true \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
44 |
# -Djava.lang.invoke.MethodHandle.TRACE_INTERPRETER=true" |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
45 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
46 |
# Flags to run trusted tests from the Nashorn test suite |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
47 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
48 |
#TRUSTED_TEST_FLAGS="\ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
49 |
#-Djava.security.manager \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
50 |
#-Djava.security.policy=../build/nashorn.policy -Dnashorn.debug" |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
51 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
52 |
# Testing out new code optimizations using the generic hotspot "new code" parameter |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
53 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
54 |
#USE_NEW_CODE_FLAGS=-XX:+UnlockDiagnosticVMOptions -XX:+UseNewCode |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
55 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
56 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
57 |
#-Dnashorn.typeInfo.disabled=false \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
58 |
# and for Nashorn options: |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
59 |
# --class-cache-size=0 --persistent-code-cache=false |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
60 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
61 |
# Unique timestamped file name for JFR recordings. For JFR, we also have to |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
62 |
# crank up the stack cutoff depth to 1024, because of ridiculously long lambda form |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
63 |
# stack traces. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
64 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
65 |
# It is also recommended that you go into $JAVA_HOME/jre/lib/jfr/default.jfc and |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
66 |
# set the "method-sampling-interval" Normal and Maximum sample time as low as you |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
67 |
# can go (10 ms on most platforms). The default is normally higher. The increased |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
68 |
# sampling overhead is usually negligible for Nashorn runs, but the data is better |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
69 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
70 |
if [ -z $JFR_FILENAME ]; then |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
71 |
JFR_FILENAME="./nashorn_$(date|sed "s/ /_/g"|sed "s/:/_/g").jfr" |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
72 |
fi |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
73 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
74 |
# Flight recorder |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
75 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
76 |
# see above - already in place, copy the flags down here to disable |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
77 |
ENABLE_FLIGHT_RECORDER_FLAGS="\ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
78 |
-XX:+UnlockCommercialFeatures \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
79 |
-XX:+FlightRecorder \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
80 |
-XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true,dumponexitpath=$JFR_FILENAME,stackdepth=1024" |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
81 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
82 |
# Type specialization and math intrinsic replacement should be enabled by default in 8u20 and nine, |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
83 |
# keeping this flag around for experimental reasons. Replace + with - to switch it off |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
84 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
85 |
#ENABLE_TYPE_SPECIALIZATION_FLAGS=-XX:+UseTypeSpeculation |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
86 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
87 |
# Same with math intrinsics. They should be enabled by default in 8u20 and 9, so |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
88 |
# this disables them if needed |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
89 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
90 |
#DISABLE_MATH_INTRINSICS_FLAGS=-XX:-UseMathExactIntrinsics |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
91 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
92 |
# Add timing to time the compilation phases. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
93 |
#ENABLE_TIME_FLAGS=--log=time |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
94 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
95 |
# Add ShowHiddenFrames to get lambda form internals on the stack traces |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
96 |
#ENABLE_SHOW_HIDDEN_FRAMES_FLAGS=-XX:+ShowHiddenFrames |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
97 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
98 |
# Add print optoassembly to get an asm dump. This requires 1) a debug build, not product, |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
99 |
# That tired compilation is switched off, for C2 only output and that the number of |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
100 |
# compiler threads is set to 1 for determinsm. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
101 |
# |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
102 |
#PRINT_ASM_FLAGS=-XX:+PrintOptoAssembly -XX:-TieredCompilation -XX:CICompilerCount=1 \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
103 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
104 |
# Tier compile threasholds. Default value is 10. (1-100 is useful for experiments) |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
105 |
#TIER_COMPILATION_THRESHOLD_FLAGS=-XX:IncreaseFirstTierCompileThresholdAt=10 |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
106 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
107 |
# Directory where to look for nashorn.jar in a dist folder. The default is "..", assuming |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
108 |
# that we run the script from the make dir |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
109 |
DIR=.. |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
110 |
NASHORN_JAR=$DIR/dist/nashorn.jar |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
111 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
112 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
113 |
# The built Nashorn jar is placed first in the bootclasspath to override the JDK |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
114 |
# nashorn.jar in $JAVA_HOME/jre/lib/ext. Thus, we also need -esa, as assertions in |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
115 |
# nashorn count as system assertions in this configuration |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
116 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
117 |
# Type profiling default level is 111, 222 adds some compile time, but is faster |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
118 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
119 |
$JAVA_HOME/bin/java \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
120 |
$ENABLE_ASSERTIONS_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
121 |
$LAMBDAFORM_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
122 |
$TRUSTED_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
123 |
$USE_NEW_CODE_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
124 |
$ENABLE_SHOW_HIDDEN_FRAMES_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
125 |
$ENABLE_FLIGHT_RECORDER_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
126 |
$ENABLE_TYPE_SPECIALIZATION_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
127 |
$TIERED_COMPILATION_THRESOLD_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
128 |
$DISABLE_MATH_INTRINSICS_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
129 |
$PRINT_ASM_FLAGS \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
130 |
-Xbootclasspath/p:$NASHORN_JAR \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
131 |
-Xms2G -Xmx2G \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
132 |
-XX:TypeProfileLevel=222 \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
133 |
-cp $CLASSPATH:../build/test/classes/ \ |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
134 |
jdk.nashorn.tools.Shell $ENABLE_TIME_FLAGS ${@} |
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
135 |
|
c64b3468d51d
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren
parents:
diff
changeset
|
136 |