mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6919886: Sweep CodeCache more aggressively to reduce its usage for CompileTheWorld
Add safepoint after CompileTheWorldSafepointInterval (100) compilations and do full sweep of CodeCache each time. Reviewed-by: never
This commit is contained in:
parent
bac125984c
commit
f557cc8bd0
3 changed files with 20 additions and 0 deletions
|
@ -2447,6 +2447,9 @@ class CommandLineFlags {
|
|||
notproduct(bool, CompileTheWorldIgnoreInitErrors, false, \
|
||||
"Compile all methods although class initializer failed") \
|
||||
\
|
||||
notproduct(intx, CompileTheWorldSafepointInterval, 100, \
|
||||
"Force a safepoint every n compiles so sweeper can keep up") \
|
||||
\
|
||||
develop(bool, TraceIterativeGVN, false, \
|
||||
"Print progress during Iterative Global Value Numbering") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue