comparison src/share/vm/runtime/vm_operations.cpp @ 1202:5f24d0319e54

4360113: Evict nmethods when code cache gets full Summary: Speculatively unload the oldest nmethods when code cache gets full. Reviewed-by: never, kvn Contributed-by: eric.caspole@amd.com
author kvn
date Fri, 29 Jan 2010 09:27:22 -0800
parents a61af66fc99e
children c18cbe5936b8
comparison
equal deleted inserted replaced
1201:24128c2ffa87 1202:5f24d0319e54
149 thread->make_zombies(); 149 thread->make_zombies();
150 } 150 }
151 151
152 #endif // !PRODUCT 152 #endif // !PRODUCT
153 153
154 void VM_HandleFullCodeCache::doit() {
155 NMethodSweeper::speculative_disconnect_nmethods(_is_full);
156 }
157
154 void VM_Verify::doit() { 158 void VM_Verify::doit() {
155 Universe::verify(); 159 Universe::verify();
156 } 160 }
157 161
158 bool VM_PrintThreads::doit_prologue() { 162 bool VM_PrintThreads::doit_prologue() {