JDK-8221786 : ZGC: Increase max heap size to 16TB
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-04-01
  • Updated: 2019-05-02
  • Resolved: 2019-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b19Fixed
Sub Tasks
JDK-8222920 :  
Description
Increase max heap size to 16TB. We could just bump ZPlatformAddressOffsetBits to 44, but we should take the opportunity to make this slightly more dynamic and set ZPlatformAddressOffsetBits at runtime. As a start, I propose that we limit the dynamic behavior to an address space reservation of 4TB, 8TB or 16TB (per heap view), depending on what -Xmx is set to. In the future we could have a more elaborate scheme if we find a need for that.