comparison src/share/vm/opto/output.cpp @ 28:67914967a4b5

6650373: Assert in methodOopDesc::make_adapters() Summary: AdapterHandlerLibrary::get_create_adapter_index() returns incorrect value (-2) when CodeCache is full. Reviewed-by: sgoldman
author kvn
date Fri, 22 Feb 2008 17:55:13 -0800
parents a61af66fc99e
children eac007780a58
comparison
equal deleted inserted replaced
27:1f530c629c7d 28:67914967a4b5
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------------------------------------