annotate graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalOptions.java @ 3091:bee93b329be2

merge
author Lukas Stadler <lukas.stadler@jku.at>
date Tue, 28 Jun 2011 19:22:42 +0200
parents 536528f48708 05dcd49a2df2
children 883c2f14e7d0 5cdaa94cd622
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
1 /*
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
2 * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
4 *
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
7 * published by the Free Software Foundation.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
8 *
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
13 * accompanied this code).
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
14 *
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
18 *
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
21 * questions.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
22 */
2874
d90bf514d647 Renamed packages.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2872
diff changeset
23 package com.oracle.max.graal.compiler;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
24
2874
d90bf514d647 Renamed packages.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2872
diff changeset
25 import com.oracle.max.graal.compiler.debug.TTY.*;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
26
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
27 /**
2888
224412c24426 Changed C1X=>Graal and c1x=>graal in Java code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2880
diff changeset
28 * This class encapsulates options that control the behavior of the Graal compiler.
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
29 * The help message for each option is specified by a {@linkplain #helpMap help map}.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
30 *
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
31 * (tw) WARNING: Fields of this class are treated as final by Graal.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
32 */
2888
224412c24426 Changed C1X=>Graal and c1x=>graal in Java code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2880
diff changeset
33 public final class GraalOptions {
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
34
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
35 // Checkstyle: stop
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
36 private static final boolean ____ = false;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
37 // Checkstyle: resume
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
38
3033
ebd1d48a1ae1 Local value numbering for inserted null check guards.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3023
diff changeset
39
ebd1d48a1ae1 Local value numbering for inserted null check guards.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3023
diff changeset
40 public static boolean Lower = true;
ebd1d48a1ae1 Local value numbering for inserted null check guards.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3023
diff changeset
41
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
42 // inlining settings
2902
434d71eec7a9 Ensure that only one phase timer is running at one time.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2901
diff changeset
43 public static boolean Inline = true;
3023
79165996a12d Fixed an issue with bci=-1 in the framestate of a merged unwind.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3020
diff changeset
44 public static boolean CacheGraphs = ____;
3011
f00918f35c7f inlining and runtime interface related changes:
Lukas Stadler <lukas.stadler@jku.at>
parents: 2953
diff changeset
45 public static boolean InlineWithTypeCheck = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
46 public static int MaximumInstructionCount = 37000;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
47 public static float MaximumInlineRatio = 0.90f;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
48 public static int MaximumInlineSize = 35;
3013
5ee0f57bb18c added message to verification error, InliningPhase uses TTY
Lukas Stadler <lukas.stadler@jku.at>
parents: 3011
diff changeset
49 public static int MaximumFreqInlineSize = 200;
5ee0f57bb18c added message to verification error, InliningPhase uses TTY
Lukas Stadler <lukas.stadler@jku.at>
parents: 3011
diff changeset
50 public static int FreqInlineRatio = 20;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
51 public static int MaximumTrivialSize = 6;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
52 public static int MaximumInlineLevel = 9;
2868
6d24c27902a2 turned inlining into a phase, some node cloning fixes, added NodeWorklist
Lukas Stadler <lukas.stadler@jku.at>
parents: 2867
diff changeset
53 public static int MaximumRecursiveInlineLevel = 2;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
54 public static int MaximumDesiredSize = 8000;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
55 public static int MaximumShortLoopSize = 5;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
56
3086
02e2c1c4ac53 InliningPhase can take a hint on what to inline, initial work on EscapeAnalysisPhase
Lukas Stadler <lukas.stadler@jku.at>
parents: 3059
diff changeset
57 // escape analysis settings
3090
536528f48708 more escape analysis work: debug info
Lukas Stadler <lukas.stadler@jku.at>
parents: 3089
diff changeset
58 public static boolean EscapeAnalysis = ____;
3086
02e2c1c4ac53 InliningPhase can take a hint on what to inline, initial work on EscapeAnalysisPhase
Lukas Stadler <lukas.stadler@jku.at>
parents: 3059
diff changeset
59 public static int ForcedInlineEscapeWeight = 0;
3088
be5deef7c7a0 more escape analysis changes
Lukas Stadler <lukas.stadler@jku.at>
parents: 3086
diff changeset
60 public static int MaximumEscapeAnalysisArrayLength = 32;
3086
02e2c1c4ac53 InliningPhase can take a hint on what to inline, initial work on EscapeAnalysisPhase
Lukas Stadler <lukas.stadler@jku.at>
parents: 3059
diff changeset
61
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
62 // debugging settings
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
63 public static boolean VerifyPointerMaps = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
64 public static int MethodEndBreakpointGuards = 0;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
65 public static boolean ZapStackOnMethodEntry = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
66 public static boolean StressLinearScan = ____;
2672
35453d725a2a Add a BailoutOnException option on C1X to be able to tell expected exceptions (bailouts on jsr etc.) appart from true/unexpected exceptions
Gilles Duboscq <gilles.duboscq@oracle.com>
parents: 2654
diff changeset
67 public static boolean BailoutOnException = ____;
2938
c7783b6773ea fixed graph start frame state
Lukas Stadler <lukas.stadler@jku.at>
parents: 2928
diff changeset
68 public static boolean DeoptALot = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
69
2953
445233cd91df added GraalOptions.TestGraphDuplication, fixed graph duplication
Lukas Stadler <lukas.stadler@jku.at>
parents: 2938
diff changeset
70 public static boolean TestGraphDuplication = ____;
445233cd91df added GraalOptions.TestGraphDuplication, fixed graph duplication
Lukas Stadler <lukas.stadler@jku.at>
parents: 2938
diff changeset
71
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
72 /**
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
73 * See {@link Filter#Filter(String, Object)}.
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
74 */
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
75 public static String PrintFilter = null;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
76
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
77 // printing settings
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
78 public static boolean PrintLIR = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
79 public static boolean PrintCFGToFile = ____;
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
80
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
81 // DOT output settings
2648
d456b679b6de Add option PrintDOTGraphToFile to produce Graphviz graphs in the DOT language for compiled methods that match PrintFilter
Peter Hofer <peter.hofer@jku.at>
parents: 2644
diff changeset
82 public static boolean PrintDOTGraphToFile = ____;
2674
6ab73784566a * BlockBegin.predecessors changed to List<BlockEnd>
Lukas Stadler <lukas.stadler@jku.at>
parents: 2672
diff changeset
83 public static boolean PrintDOTGraphToPdf = ____;
2866
7f14e6b48a9c added dead code elimination
Lukas Stadler <lukas.stadler@jku.at>
parents: 2842
diff changeset
84 public static boolean OmitDOTFrameStates = ____;
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
85
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
86 // Ideal graph visualizer output settings
3068
ea778c37bdae Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3059
diff changeset
87 public static boolean Plot = ____;
3084
05dcd49a2df2 Added -G:+PlotOnError option to print graph to IGV even without -G:+Plot on error condition (verification failure or AssertionError/RuntimeException in a Phase)
Gilles Duboscq <gilles.duboscq@oracle.com>
parents: 3078
diff changeset
88 public static boolean PlotOnError = ____;
2698
b179be22a3db Allow to submit graphs to IdealGraphVisualizer remotely with new options named after their counterparts in C2
Peter Hofer <peter.hofer@jku.at>
parents: 2684
diff changeset
89 public static int PrintIdealGraphLevel = 0;
b179be22a3db Allow to submit graphs to IdealGraphVisualizer remotely with new options named after their counterparts in C2
Peter Hofer <peter.hofer@jku.at>
parents: 2684
diff changeset
90 public static boolean PrintIdealGraphFile = ____;
b179be22a3db Allow to submit graphs to IdealGraphVisualizer remotely with new options named after their counterparts in C2
Peter Hofer <peter.hofer@jku.at>
parents: 2684
diff changeset
91 public static String PrintIdealGraphAddress = "127.0.0.1";
b179be22a3db Allow to submit graphs to IdealGraphVisualizer remotely with new options named after their counterparts in C2
Peter Hofer <peter.hofer@jku.at>
parents: 2684
diff changeset
92 public static int PrintIdealGraphPort = 4444;
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
93
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
94 // Other printing settings
2903
eb3a82946429 Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2902
diff changeset
95 public static boolean Meter = ____;
2901
d577d07cedec Added time measurement for phases.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2888
diff changeset
96 public static boolean Time = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
97 public static boolean PrintCompilation = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
98 public static boolean PrintXirTemplates = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
99 public static boolean PrintIRWithLIR = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
100 public static boolean PrintAssembly = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
101 public static boolean PrintCodeBytes = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
102 public static int PrintAssemblyBytesPerLine = 16;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
103 public static int TraceLinearScanLevel = 0;
2623
b129b7da1397 Some fixes around LIRGenerator / frame state. New option C1X:TraceLIRGeneratorLevel
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2568
diff changeset
104 public static int TraceLIRGeneratorLevel = 0;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
105 public static boolean TraceRelocation = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
106 public static boolean TraceLIRVisit = ____;
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
107 public static boolean TraceAssembler = ____;
2842
7596ae867a7b basic inlining passes all tests, including optimistic inlining
Lukas Stadler <lukas.stadler@jku.at>
parents: 2791
diff changeset
108 public static boolean TraceInlining = ____;
2866
7f14e6b48a9c added dead code elimination
Lukas Stadler <lukas.stadler@jku.at>
parents: 2842
diff changeset
109 public static boolean TraceDeadCodeElimination = ____;
3088
be5deef7c7a0 more escape analysis changes
Lukas Stadler <lukas.stadler@jku.at>
parents: 3086
diff changeset
110 public static boolean TraceEscapeAnalysis = ____;
3069
6202a6bb6726 Restructure memory lowering code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
111 public static boolean TraceMemoryMaps = ____;
3078
b15101f82e2d Added read elimination phase.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3069
diff changeset
112 public static boolean TraceReadElimination = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
113 public static int TraceBytecodeParserLevel = 0;
2568
95a9b8906b09 Add QuietBailout option to be able to mute the bailouts generated by JSRs in dacapo
Gilles Duboscq <gilles.duboscq@oracle.com>
parents: 2535
diff changeset
114 public static boolean QuietBailout = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
115
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
116 // state merging settings
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
117 public static boolean AssumeVerifiedBytecode = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
118
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
119 // Linear scan settings
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
120 public static boolean CopyPointerStackArguments = true;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
121
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
122 // Code generator settings
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
123 public static boolean GenLIR = true;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
124 public static boolean GenCode = true;
2953
445233cd91df added GraalOptions.TestGraphDuplication, fixed graph duplication
Lukas Stadler <lukas.stadler@jku.at>
parents: 2938
diff changeset
125 public static boolean UseBranchPrediction = true;
3059
8c67295934ff disable UseExceptionProbability by default (not stable yet)
Lukas Stadler <lukas.stadler@jku.at>
parents: 3057
diff changeset
126 public static boolean UseExceptionProbability = ____;
3057
8e9046edb790 fixes on exception profiling
Lukas Stadler <lukas.stadler@jku.at>
parents: 3052
diff changeset
127 public static int MatureInvocationCount = 100;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
128
2928
1e13559b112d small fix in deopt stub, more branch prediction code
Lukas Stadler <lukas.stadler@jku.at>
parents: 2903
diff changeset
129 public static boolean UseConstDirectCall = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
130
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
131 public static boolean GenSpecialDivChecks = ____;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
132 public static boolean GenAssertionCode = ____;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
133 public static boolean AlignCallsForPatching = true;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
134 public static boolean NullCheckUniquePc = ____;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
135 public static boolean InvokeSnippetAfterArguments = ____;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
136 public static boolean ResolveClassBeforeStaticInvoke = true;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
137
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
138 // Translating tableswitch instructions
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
139 public static int SequentialSwitchLimit = 4;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
140 public static int RangeTestsSwitchDensity = 5;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
141
2791
6d14aa4fbf90 Gotos removed (except for exception dispatch chains and edge splitting).
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2790
diff changeset
142 public static boolean DetailedAsserts = ____;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
143
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
144 // Runtime settings
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
145 public static int ReadPrefetchInstr = 0;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
146 public static int StackShadowPages = 2;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
147
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
148 // Assembler settings
2732
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
149 public static boolean CommentedAssembly = ____;
beea26b73b3f Removed unused options and code.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2731
diff changeset
150 public static boolean PrintLIRWithAssembly = ____;
2863
4f64bd98f9dc Canonicalization work
Gilles Duboscq <gilles.duboscq@oracle.com>
parents: 2859
diff changeset
151
4f64bd98f9dc Canonicalization work
Gilles Duboscq <gilles.duboscq@oracle.com>
parents: 2859
diff changeset
152 public static boolean OptCanonicalizer = true;
3042
183389909fe3 Begin making LoopBegin not be a Merge anymore
Gilles Duboscq <gilles.duboscq@oracle.com>
parents: 2953
diff changeset
153 public static boolean OptLoops = true;
2507
9ec15d6914ca Pull over of compiler from maxine repository.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
154 }