Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
1562:dfe27f03244a | 1579:e9ff18c4ace7 |
---|---|
1649 if (log != NULL) { | 1649 if (log != NULL) { |
1650 log->begin_elem("code_cache_full"); | 1650 log->begin_elem("code_cache_full"); |
1651 log->stamp(); | 1651 log->stamp(); |
1652 log->end_elem(); | 1652 log->end_elem(); |
1653 } | 1653 } |
1654 #ifndef PRODUCT | 1654 warning("CodeCache is full. Compiler has been disabled."); |
1655 warning("CodeCache is full. Compiler has been disabled"); | 1655 warning("Try increasing the code cache size using -XX:ReservedCodeCacheSize="); |
1656 #ifndef PRODUCT | |
1656 if (CompileTheWorld || ExitOnFullCodeCache) { | 1657 if (CompileTheWorld || ExitOnFullCodeCache) { |
1657 before_exit(JavaThread::current()); | 1658 before_exit(JavaThread::current()); |
1658 exit_globals(); // will delete tty | 1659 exit_globals(); // will delete tty |
1659 vm_direct_exit(CompileTheWorld ? 0 : 1); | 1660 vm_direct_exit(CompileTheWorld ? 0 : 1); |
1660 } | 1661 } |
1661 #endif | 1662 #endif |
1662 if (UseCodeCacheFlushing) { | 1663 if (UseCodeCacheFlushing) { |
1663 NMethodSweeper::handle_full_code_cache(true); | 1664 NMethodSweeper::handle_full_code_cache(true); |
1664 } else { | 1665 } else { |
1665 UseCompiler = false; | 1666 UseCompiler = false; |
1666 AlwaysCompileLoopMethods = false; | 1667 AlwaysCompileLoopMethods = false; |