1.1 --- a/src/share/vm/compiler/compileBroker.cpp Thu Aug 12 23:34:34 2010 -0700 1.2 +++ b/src/share/vm/compiler/compileBroker.cpp Fri Aug 13 15:14:00 2010 -0700 1.3 @@ -1652,12 +1652,10 @@ 1.4 void CompileBroker::handle_full_code_cache() { 1.5 UseInterpreter = true; 1.6 if (UseCompiler || AlwaysCompileLoopMethods ) { 1.7 - CompilerThread* thread = CompilerThread::current(); 1.8 - CompileLog* log = thread->log(); 1.9 - if (log != NULL) { 1.10 - log->begin_elem("code_cache_full"); 1.11 - log->stamp(); 1.12 - log->end_elem(); 1.13 + if (xtty != NULL) { 1.14 + xtty->begin_elem("code_cache_full"); 1.15 + xtty->stamp(); 1.16 + xtty->end_elem(); 1.17 } 1.18 warning("CodeCache is full. Compiler has been disabled."); 1.19 warning("Try increasing the code cache size using -XX:ReservedCodeCacheSize=");