mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
4360113: Evict nmethods when code cache gets full
Speculatively unload the oldest nmethods when code cache gets full. Reviewed-by: never, kvn
This commit is contained in:
parent
9aa675b7e6
commit
a57d68e35b
19 changed files with 452 additions and 76 deletions
|
@ -151,6 +151,10 @@ void VM_ZombieAll::doit() {
|
|||
|
||||
#endif // !PRODUCT
|
||||
|
||||
void VM_HandleFullCodeCache::doit() {
|
||||
NMethodSweeper::speculative_disconnect_nmethods(_is_full);
|
||||
}
|
||||
|
||||
void VM_Verify::doit() {
|
||||
Universe::verify();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue