mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
Merge
This commit is contained in:
commit
16548883ec
11 changed files with 319 additions and 25 deletions
|
@ -1815,6 +1815,10 @@ void Arguments::set_heap_size() {
|
|||
// was not specified.
|
||||
if (reasonable_max > max_coop_heap) {
|
||||
if (FLAG_IS_ERGO(UseCompressedOops) && override_coop_limit) {
|
||||
log_info(cds)("UseCompressedOops and UseCompressedClassPointers have been disabled due to"
|
||||
" max heap " SIZE_FORMAT " > compressed oop heap " SIZE_FORMAT ". "
|
||||
"Please check the setting of MaxRAMPercentage %5.2f."
|
||||
,(size_t)reasonable_max, (size_t)max_coop_heap, MaxRAMPercentage);
|
||||
FLAG_SET_ERGO(UseCompressedOops, false);
|
||||
FLAG_SET_ERGO(UseCompressedClassPointers, false);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue