mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
Reviewed-by: brutisso, jmasa, coleenp
This commit is contained in:
parent
30ed89669a
commit
55cbe80300
9 changed files with 519 additions and 358 deletions
|
@ -3656,6 +3656,9 @@ jint Arguments::apply_ergo() {
|
|||
assert(verify_serial_gc_flags(), "SerialGC unset");
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
// Initialize Metaspace flags and alignments.
|
||||
Metaspace::ergo_initialize();
|
||||
|
||||
// Set bytecode rewriting flags
|
||||
set_bytecode_flags();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue