diff -r 312126722609 -r 944b58cbaf93 src/hotspot/share/gc/z/zStat.cpp --- a/src/hotspot/share/gc/z/zStat.cpp Tue Sep 10 17:07:02 2019 +0200 +++ b/src/hotspot/share/gc/z/zStat.cpp Wed Sep 11 09:47:42 2019 +0200 @@ -354,7 +354,7 @@ void ZStatValue::initialize() { // Finalize and align CPU offset - _cpu_offset = align_up(_cpu_offset, ZCacheLineSize); + _cpu_offset = align_up(_cpu_offset, (uint32_t)ZCacheLineSize); // Allocation aligned memory const size_t size = _cpu_offset * ZCPU::count();