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_COMPILER2)
216 extern char *opt_ReplaceMethod;
217 extern char *opt_OptimizeMethod;
218 extern bool opt_DisableCountdownTraps;
224 #if defined(ENABLE_INLINING) && !defined(NDEBUG)
225 extern int opt_TraceInlining;
232 #if defined(ENABLE_JVMTI)
233 extern int opt_TraceJVMTICalls;
236 #if defined(ENABLE_RT_TIMING)
237 extern FILE *opt_RtTimingLogfile;
238 extern bool opt_RtTimingCSV;
240 #if defined(ENABLE_STATISTICS)
241 extern FILE *opt_StatisticsLogfile;
242 extern bool opt_StatisticsCSV;
257 # define TRACESUBSYSTEMINITIALIZATION(text) \
259 if (opt_TraceSubsystemInitialization) { \
260 log_println("[Initializing subsystem: %s]", text); \
264 # define TRACESUBSYSTEMINITIALIZATION(text)
267 #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