equal
deleted
inserted
replaced
919 if (CodeCache::unallocated_capacity() >= CodeCacheMinimumFreeSpace*10) { |
919 if (CodeCache::unallocated_capacity() >= CodeCacheMinimumFreeSpace*10) { |
920 // Do not turn off compilation if a single giant method has |
920 // Do not turn off compilation if a single giant method has |
921 // blown the code cache size. |
921 // blown the code cache size. |
922 C->record_failure("excessive request to CodeCache"); |
922 C->record_failure("excessive request to CodeCache"); |
923 } else { |
923 } else { |
924 UseInterpreter = true; |
924 // Let CompilerBroker disable further compilations. |
925 UseCompiler = false; |
|
926 AlwaysCompileLoopMethods = false; |
|
927 C->record_failure("CodeCache is full"); |
925 C->record_failure("CodeCache is full"); |
928 warning("CodeCache is full. Compiling has been disabled"); |
|
929 } |
926 } |
930 } |
927 } |
931 |
928 |
932 |
929 |
933 //------------------------------Fill_buffer------------------------------------ |
930 //------------------------------Fill_buffer------------------------------------ |