8021967: Deprecate -XX:DefaultMaxRAMFraction

Reviewed-by: tschatzl, jmasa, kvn, tamao
This commit is contained in:
Bengt Rutisson 2013-08-01 07:03:07 +02:00
parent 5ce100bbd1
commit 5a10114616
2 changed files with 48 additions and 0 deletions

View file

@ -1891,6 +1891,10 @@ void Arguments::check_deprecated_gc_flags() {
warning("Using MaxGCMinorPauseMillis as minor pause goal is deprecated"
"and will likely be removed in future release");
}
if (FLAG_IS_CMDLINE(DefaultMaxRAMFraction)) {
warning("DefaultMaxRAMFraction is deprecated and will likely be removed in a future release. "
"Use MaxRAMFraction instead.");
}
}
// Check stack pages settings