-
Enhancement
-
Resolution: Fixed
-
P4
-
15, 17, 21, 25
-
b09
See:
```
// If user specified flags prioritizing os physical
// memory limits, then disable compressed oops if
// limits exceed max_coop_heap and UseCompressedOops
// was not specified.
if (reasonable_max > max_coop_heap) {
if (FLAG_IS_ERGO(UseCompressedOops) && override_coop_limit) {
aot_log_info(aot)("UseCompressedOops and UseCompressedClassPointers have been disabled due to"
" max heap %zu > compressed oop heap %zu. "
"Please check the setting of MaxRAMPercentage %5.2f."
,(size_t)reasonable_max, (size_t)max_coop_heap, MaxRAMPercentage);
FLAG_SET_ERGO(UseCompressedOops, false);
} else {
reasonable_max = MIN2(reasonable_max, max_coop_heap);
}
}
```
UseCompressedClassPointers has long been separated from UseCompressedOops, so the text should be adjusted.
```
// If user specified flags prioritizing os physical
// memory limits, then disable compressed oops if
// limits exceed max_coop_heap and UseCompressedOops
// was not specified.
if (reasonable_max > max_coop_heap) {
if (FLAG_IS_ERGO(UseCompressedOops) && override_coop_limit) {
aot_log_info(aot)("UseCompressedOops and UseCompressedClassPointers have been disabled due to"
" max heap %zu > compressed oop heap %zu. "
"Please check the setting of MaxRAMPercentage %5.2f."
,(size_t)reasonable_max, (size_t)max_coop_heap, MaxRAMPercentage);
FLAG_SET_ERGO(UseCompressedOops, false);
} else {
reasonable_max = MIN2(reasonable_max, max_coop_heap);
}
}
```
UseCompressedClassPointers has long been separated from UseCompressedOops, so the text should be adjusted.
- relates to
-
JDK-8241825 Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/7a22b76b
-
Review(master) openjdk/jdk/26439