8231563: ZGC: Fails to warn when user sets the max heap size to larger than 16TB

Reviewed-by: tschatzl, pliden
This commit is contained in:
Stefan Karlsson 2019-09-27 09:01:39 +02:00
parent 3d4da79186
commit 3b181e51b1
2 changed files with 2 additions and 2 deletions
src/hotspot/cpu

@ -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;

@ -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;