changeset 58054:932b94295034

8230756: ZGC: Remove redundant memset in ZStatValue Reviewed-by: tschatzl, pliden
author stefank
date Tue, 10 Sep 2019 17:07:02 +0200
parents 0cc0fd308822
children 312126722609
files src/hotspot/share/gc/z/zStat.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/z/zStat.cpp	Thu Sep 19 12:01:36 2019 -0700
+++ b/src/hotspot/share/gc/z/zStat.cpp	Tue Sep 10 17:07:02 2019 +0200
@@ -359,7 +359,6 @@
   // Allocation aligned memory
   const size_t size = _cpu_offset * ZCPU::count();
   _base = ZUtils::alloc_aligned(ZCacheLineSize, size);
-  memset((void*)_base, 0, size);
 }
 
 const char* ZStatValue::group() const {