27 #define OPTIONS_HPP_ 1
108 #if defined(ENABLE_LOOP)
109 extern bool opt_loops;
114 #if defined(ENABLE_STATISTICS)
115 extern bool opt_stat;
116 extern bool opt_getloadingtime;
117 extern bool opt_getcompilingtime;
119 #if defined(ENABLE_VERIFIER)
123 #if defined(ENABLE_PROFILING)
124 extern bool opt_prof;
125 extern bool opt_prof_bb;
130 #if defined(ENABLE_IFCONV)
134 #if defined(ENABLE_LSRA) || defined(ENABLE_SSA)
135 extern bool opt_lsra;
137 #if defined(ENABLE_SSA)
138 extern bool opt_ssa_dce;
139 extern bool opt_ssa_cp;
144 #if defined(ENABLE_INTRP)
145 extern bool opt_no_dynamic;
146 extern bool opt_no_replication;
147 extern bool opt_no_quicksuper;
149 extern s4 opt_static_supers;
150 extern bool vm_debug;
155 #if defined(ENABLE_DEBUG_FILTER)
188 #if defined(ENABLE_DISASSEMBLER)
189 extern int opt_DisassembleStubs;
191 #if defined(ENABLE_OPAGENT)
192 extern int opt_EnableOpagent;
194 #if defined(ENABLE_GC_CACAO)
195 extern int opt_GCDebugRootSet;
196 extern int opt_GCStress;
198 #if defined(ENABLE_INLINING)
199 extern int opt_Inline;
200 #if defined(ENABLE_INLINING_DEBUG) || !defined(NDEBUG)
201 extern int opt_InlineAll;
202 extern int opt_InlineCount;
203 extern int opt_InlineMaxSize;
204 extern int opt_InlineMinSize;
205 extern char* opt_InlineMethod;
215 #if defined(ENABLE_REPLACEMENT)
216 extern int opt_TestReplacement;
222 #if defined(ENABLE_INLINING) && !defined(NDEBUG)
223 extern int opt_TraceInlining;
230 #if defined(ENABLE_JVMTI)
231 extern int opt_TraceJVMTICalls;
234 #if defined(ENABLE_RT_TIMING)
235 extern FILE *opt_RtTimingLogfile;
236 extern bool opt_RtTimingCSV;
238 #if defined(ENABLE_STATISTICS)
239 extern FILE *opt_StatisticsLogfile;
240 extern bool opt_StatisticsCSV;
242 #if defined(ENABLE_REPLACEMENT)
243 extern int opt_TraceReplacement;
258 # define TRACESUBSYSTEMINITIALIZATION(text) \
260 if (opt_TraceSubsystemInitialization) { \
261 log_println("[Initializing subsystem: %s]", text); \
265 # define TRACESUBSYSTEMINITIALIZATION(text)
268 #endif // OPTIONS_HPP_
bool opt_AlwaysMmapFirstPage
int opt_ProfileGCMemoryUsage
int opt_ProfileMemoryUsage
int opt_TraceJVMCallsVerbose
int64_t opt_MaxDirectMemorySize
char * opt_CompileSignature
const char * opt_filter_show_method
const char * opt_filter_verbosecall_exclude
int opt_TraceBuiltinCalls
int opt_TraceCompilerCalls
void options_xx(JavaVMInitArgs *vm_args)
bool opt_showddatasegment
int opt_DebugLocalReferences
FILE * opt_ProfileMemoryUsageGNUPlot
int options_get(opt_struct *opts, JavaVMInitArgs *vm_args)
bool opt_showintermediate
int opt_TraceSubsystemInitialization
const char * opt_filter_verbosecall_include
bool opt_AlwaysEmitLongBranches
int opt_DebugStackFrameInfo