8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces

Reviewed-by: brutisso, jmasa, coleenp
This commit is contained in:
Stefan Karlsson 2013-10-07 15:51:08 +02:00
parent 30ed89669a
commit 55cbe80300
9 changed files with 519 additions and 358 deletions

View file

@ -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();