Mercurial > hg > truffle
comparison src/share/vm/compiler/compileBroker.cpp @ 1728:a62d332029cf
6976372: # assert(_owner == Thread::current()) failed: invariant
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Fri, 13 Aug 2010 15:14:00 -0700 |
parents | d2ede61b7a12 |
children | 3e8fbc61cee8 |
comparison
equal
deleted
inserted
replaced
1727:da877bdc9000 | 1728:a62d332029cf |
---|---|
1650 // The CodeCache is full. Print out warning and disable compilation or | 1650 // The CodeCache is full. Print out warning and disable compilation or |
1651 // try code cache cleaning so compilation can continue later. | 1651 // try code cache cleaning so compilation can continue later. |
1652 void CompileBroker::handle_full_code_cache() { | 1652 void CompileBroker::handle_full_code_cache() { |
1653 UseInterpreter = true; | 1653 UseInterpreter = true; |
1654 if (UseCompiler || AlwaysCompileLoopMethods ) { | 1654 if (UseCompiler || AlwaysCompileLoopMethods ) { |
1655 CompilerThread* thread = CompilerThread::current(); | 1655 if (xtty != NULL) { |
1656 CompileLog* log = thread->log(); | 1656 xtty->begin_elem("code_cache_full"); |
1657 if (log != NULL) { | 1657 xtty->stamp(); |
1658 log->begin_elem("code_cache_full"); | 1658 xtty->end_elem(); |
1659 log->stamp(); | |
1660 log->end_elem(); | |
1661 } | 1659 } |
1662 warning("CodeCache is full. Compiler has been disabled."); | 1660 warning("CodeCache is full. Compiler has been disabled."); |
1663 warning("Try increasing the code cache size using -XX:ReservedCodeCacheSize="); | 1661 warning("Try increasing the code cache size using -XX:ReservedCodeCacheSize="); |
1664 #ifndef PRODUCT | 1662 #ifndef PRODUCT |
1665 if (CompileTheWorld || ExitOnFullCodeCache) { | 1663 if (CompileTheWorld || ExitOnFullCodeCache) { |