< prev index next >
src/hotspot/share/compiler/compileBroker.hpp
Print this page
rev 56101 : 8227745: Enable Escape Analysis for better performance when debugging
Reviewed-by: ???
@@ -223,12 +223,18 @@
static int _sum_nmethod_code_size;
static long _peak_compilation_time;
static volatile int _print_compilation_warning;
+ enum ThreadType {
+ compiler_t,
+ sweeper_t,
+ deoptimizer_t
+ };
+
static Handle create_thread_oop(const char* name, TRAPS);
- static JavaThread* make_thread(jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, TRAPS);
+ static JavaThread* make_thread(ThreadType type, jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, TRAPS);
static void init_compiler_sweeper_threads();
static void possibly_add_compiler_threads();
static bool compilation_is_prohibited(const methodHandle& method, int osr_bci, int comp_level, bool excluded);
static void preload_classes (const methodHandle& method, TRAPS);
< prev index next >