8230756: ZGC: Remove redundant memset in ZStatValue
authorstefank
Tue, 10 Sep 2019 17:07:02 +0200
changeset 58235 932b94295034
parent 58234 0cc0fd308822
child 58236 312126722609
8230756: ZGC: Remove redundant memset in ZStatValue Reviewed-by: tschatzl, pliden
src/hotspot/share/gc/z/zStat.cpp
--- 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 {