RFR: 8213175 - MaxHeapSize refuses to go over 32178700288 when running in a docker container
bob.vandette at oracle.com
Tue Mar 12 15:04:37 UTC 2019
Please review this fix for correcting the Heap size when MaxRAMPercentage is used.
This fix changes the ordering of when we try to determine if we can
enable UseCompressedOops. It is now done after more of the Heap size
calculations are completed.
The only behavioral change should be that UseCompressedOops will now be
disabled if someone specifies a MaxRAMPercentage that causes the heap size
to exceed the amount of memory that can be used with compressed oops.
Prior to this change, the amount of heap was reduced to the compressed oop
More information about the hotspot-runtime-dev