mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -3117,6 +3117,15 @@ class CommandLineFlags {
|
|||
notproduct(bool, ExitOnFullCodeCache, false, \
|
||||
"Exit the VM if we fill the code cache.") \
|
||||
\
|
||||
product(bool, UseCodeCacheFlushing, false, \
|
||||
"Attempt to clean the code cache before shutting off compiler") \
|
||||
\
|
||||
product(intx, MinCodeCacheFlushingInterval, 30, \
|
||||
"Min number of seconds between code cache cleaning sessions") \
|
||||
\
|
||||
product(uintx, CodeCacheFlushingMinimumFreeSpace, 1500*K, \
|
||||
"When less than X space left, start code cache cleaning") \
|
||||
\
|
||||
/* interpreter debugging */ \
|
||||
develop(intx, BinarySwitchThreshold, 5, \
|
||||
"Minimal number of lookupswitch entries for rewriting to binary " \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue