RFR: 8230756: ZGC: Remove redundant memset in ZStatValue

Per Liden per.liden at oracle.com
Tue Sep 10 08:06:42 UTC 2019


Looks good.

/Per

On 9/9/19 12:11 PM, Stefan Karlsson wrote:
> Hi all,
> 
> Please review this patch to remove a redundant memset in ZStatValue.
> 
> https://cr.openjdk.java.net/~stefank/8230756/webrev.01/
> https://bugs.openjdk.java.net/browse/JDK-8230756
> 
> ZUtils::alloc_aligned alread clears the memory, so there's no need to 
> clear the returned memory.
> 
> Thanks,
> StefanK



More information about the hotspot-gc-dev mailing list