Mercurial > hg > graal-compiler
comparison src/share/vm/compiler/compileBroker.cpp @ 1413:1ecc8f0aad00
Draft implementation of HotSpot CRI / first method compiling without exception.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Tue, 18 May 2010 17:43:37 +0200 |
parents | b30a2cd5e3a2 |
children | efba53f86c4f |
comparison
equal
deleted
inserted
replaced
1412:9195b99c841b | 1413:1ecc8f0aad00 |
---|---|
863 // Acquire our lock. | 863 // Acquire our lock. |
864 { | 864 { |
865 MutexLocker locker(_method_queue->lock(), THREAD); | 865 MutexLocker locker(_method_queue->lock(), THREAD); |
866 | 866 |
867 if (Thread::current()->is_Compiler_thread() && CompilerThread::current()->is_compiling()) { | 867 if (Thread::current()->is_Compiler_thread() && CompilerThread::current()->is_compiling()) { |
868 TRACE_C1X_1("Recursive compile!"); | 868 |
869 TRACE_C1X_1("Recursive compile %s!", method->name_and_sig_as_C_string()); | |
870 method->set_not_compilable(); | |
869 return; | 871 return; |
870 } | 872 } |
871 | 873 |
872 // Make sure the method has not slipped into the queues since | 874 // Make sure the method has not slipped into the queues since |
873 // last we checked; note that those checks were "fast bail-outs". | 875 // last we checked; note that those checks were "fast bail-outs". |