mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
6976372: # assert(_owner == Thread::current()) failed: invariant
Reviewed-by: kvn, twisti
This commit is contained in:
parent
a96301c84e
commit
0f1f7c3b7f
2 changed files with 5 additions and 9 deletions
|
@ -1652,12 +1652,10 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
|
|||
void CompileBroker::handle_full_code_cache() {
|
||||
UseInterpreter = true;
|
||||
if (UseCompiler || AlwaysCompileLoopMethods ) {
|
||||
CompilerThread* thread = CompilerThread::current();
|
||||
CompileLog* log = thread->log();
|
||||
if (log != NULL) {
|
||||
log->begin_elem("code_cache_full");
|
||||
log->stamp();
|
||||
log->end_elem();
|
||||
if (xtty != NULL) {
|
||||
xtty->begin_elem("code_cache_full");
|
||||
xtty->stamp();
|
||||
xtty->end_elem();
|
||||
}
|
||||
warning("CodeCache is full. Compiler has been disabled.");
|
||||
warning("Try increasing the code cache size using -XX:ReservedCodeCacheSize=");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue