Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 3650:0e8a2a629afb
Pass-by compilation broker.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Nov 2011 21:27:28 +0100 |
parents | bc95d122df79 |
children | dc7902820c9b |
comparison
equal
deleted
inserted
replaced
3649:5a8c44b5fb80 | 3650:0e8a2a629afb |
---|---|
2936 return NULL; | 2936 return NULL; |
2937 } | 2937 } |
2938 | 2938 |
2939 static void compiler_thread_entry(JavaThread* thread, TRAPS) { | 2939 static void compiler_thread_entry(JavaThread* thread, TRAPS) { |
2940 assert(thread->is_Compiler_thread(), "must be compiler thread"); | 2940 assert(thread->is_Compiler_thread(), "must be compiler thread"); |
2941 CompileBroker::compiler_thread_loop(); | 2941 //CompileBroker::compiler_thread_loop(); |
2942 } | 2942 } |
2943 | 2943 |
2944 // Create a CompilerThread | 2944 // Create a CompilerThread |
2945 CompilerThread::CompilerThread(CompileQueue* queue, CompilerCounters* counters) | 2945 CompilerThread::CompilerThread(CompileQueue* queue, CompilerCounters* counters) |
2946 : JavaThread(&compiler_thread_entry) { | 2946 : JavaThread(&compiler_thread_entry) { |
2947 _log = NULL; | 2947 _log = NULL; |
2948 _task = NULL; | 2948 _task = NULL; |
2949 _queue = queue; | 2949 _queue = queue; |
2950 _counters = counters; | 2950 _counters = counters; |
2951 _is_compiling = false; | |
2952 _scanned_nmethod = NULL; | 2951 _scanned_nmethod = NULL; |
2953 | 2952 |
2954 #ifndef PRODUCT | 2953 #ifndef PRODUCT |
2955 _ideal_graph_printer = NULL; | 2954 _ideal_graph_printer = NULL; |
2956 #endif | 2955 #endif |