Skip to content

Commit 3c93f5c

Browse files
committed
8230756: ZGC: Remove redundant memset in ZStatValue
Reviewed-by: tschatzl, pliden
1 parent 2a1a2b9 commit 3c93f5c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/hotspot/share/gc/z/zStat.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ void ZStatValue::initialize() {
359359
// Allocation aligned memory
360360
const size_t size = _cpu_offset * ZCPU::count();
361361
_base = ZUtils::alloc_aligned(ZCacheLineSize, size);
362-
memset((void*)_base, 0, size);
363362
}
364363

365364
const char* ZStatValue::group() const {

0 commit comments

Comments
 (0)