changeset 58207:389e50d98dc3

8231563: ZGC: Fails to warn when user sets the max heap size to larger than 16TB Reviewed-by: tschatzl, pliden
author stefank
date Fri, 27 Sep 2019 09:01:39 +0200
parents 67b3480882b4
children 61437e06602a
files src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.hpp src/hotspot/cpu/x86/gc/z/zGlobals_x86.hpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.hpp	Thu Oct 03 07:38:00 2019 +0200
+++ b/src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.hpp	Fri Sep 27 09:01:39 2019 +0200
@@ -36,7 +36,7 @@
 //  ------------------------------------------------------------------
 //
 const size_t ZPlatformGranuleSizeShift      = 21; // 2MB
-const size_t ZPlatformMaxHeapSizeShift      = 46; // 16TB
+const size_t ZPlatformMaxHeapSizeShift      = 44; // 16TB
 const size_t ZPlatformNMethodDisarmedOffset = 4;
 const size_t ZPlatformCacheLineSize         = 64;
 
--- a/src/hotspot/cpu/x86/gc/z/zGlobals_x86.hpp	Thu Oct 03 07:38:00 2019 +0200
+++ b/src/hotspot/cpu/x86/gc/z/zGlobals_x86.hpp	Fri Sep 27 09:01:39 2019 +0200
@@ -36,7 +36,7 @@
 //  ------------------------------------------------------------------
 //
 const size_t ZPlatformGranuleSizeShift      = 21; // 2MB
-const size_t ZPlatformMaxHeapSizeShift      = 46; // 16TB
+const size_t ZPlatformMaxHeapSizeShift      = 44; // 16TB
 const size_t ZPlatformNMethodDisarmedOffset = 4;
 const size_t ZPlatformCacheLineSize         = 64;