# HG changeset patch # User Tom Rodriguez # Date 1403648075 25200 # Node ID 518a221dbbdef04dd08016a8094b2219a82bdd94 # Parent 8fde32ece68efab884b258aa6bff9192b54a03a0 don't allow blocking compile requests from the compiler thread diff -r 8fde32ece68e -r 518a221dbbde src/share/vm/compiler/compileBroker.cpp --- a/src/share/vm/compiler/compileBroker.cpp Tue Jun 24 11:28:06 2014 -0700 +++ b/src/share/vm/compiler/compileBroker.cpp Tue Jun 24 15:14:35 2014 -0700 @@ -1211,6 +1211,13 @@ // Should this thread wait for completion of the compile? blocking = is_compile_blocking(method, osr_bci); +#ifdef COMPILERGRAAL + // Don't allow blocking compiles for requests triggered by Graal. + if (blocking && thread->is_Compiler_thread()) { + blocking = false; + } +#endif + // We will enter the compilation in the queue. // 14012000: Note that this sets the queued_for_compile bits in // the target method. We can now reason that a method cannot be