Mercurial > hg > graal-compiler
diff src/share/vm/compiler/compileBroker.cpp @ 1579:e9ff18c4ace7
Merge
author | jrose |
---|---|
date | Wed, 02 Jun 2010 22:45:42 -0700 |
parents | c18cbe5936b8 ca3dceda776c |
children | d2ede61b7a12 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Tue Jun 01 11:48:33 2010 -0700 +++ b/src/share/vm/compiler/compileBroker.cpp Wed Jun 02 22:45:42 2010 -0700 @@ -1651,14 +1651,15 @@ log->stamp(); log->end_elem(); } - #ifndef PRODUCT - warning("CodeCache is full. Compiler has been disabled"); + warning("CodeCache is full. Compiler has been disabled."); + warning("Try increasing the code cache size using -XX:ReservedCodeCacheSize="); +#ifndef PRODUCT if (CompileTheWorld || ExitOnFullCodeCache) { before_exit(JavaThread::current()); exit_globals(); // will delete tty vm_direct_exit(CompileTheWorld ? 0 : 1); } - #endif +#endif if (UseCodeCacheFlushing) { NMethodSweeper::handle_full_code_cache(true); } else {