mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
8020151: PSR:PERF Large performance regressions when code cache is filled
Code cache sweeping based on method hotness; removed speculatively disconnect Reviewed-by: kvn, iveresov
This commit is contained in:
parent
441f1d74cf
commit
0dee555ead
15 changed files with 240 additions and 418 deletions
|
@ -2868,6 +2868,10 @@ class CommandLineFlags {
|
|||
product(intx, NmethodSweepCheckInterval, 5, \
|
||||
"Compilers wake up every n seconds to possibly sweep nmethods") \
|
||||
\
|
||||
product(intx, NmethodSweepActivity, 10, \
|
||||
"Removes cold nmethods from code cache if > 0. Higher values " \
|
||||
"result in more aggressive sweeping") \
|
||||
\
|
||||
notproduct(bool, LogSweeper, false, \
|
||||
"Keep a ring buffer of sweeper activity") \
|
||||
\
|
||||
|
@ -3239,15 +3243,6 @@ class CommandLineFlags {
|
|||
product(bool, UseCodeCacheFlushing, true, \
|
||||
"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") \
|
||||
\
|
||||
product(uintx, CodeCacheFlushingFraction, 2, \
|
||||
"Fraction of the code cache that is flushed when full") \
|
||||
\
|
||||
/* 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