RFR: 8223308: ZGC: Remove ZGranuleMap::size()

Erik Osterlund erik.osterlund at oracle.com
Sun May 5 20:32:18 UTC 2019


Hi Per,

Looks good.

Thanks,
/Erik

> On 3 May 2019, at 14:13, Per Liden <per.liden at oracle.com> wrote:
> 
> ZAddressOffsetMax is no longer a constant, so ZGranuleMap::size() will not be as nicely folded as it used to be. I suggest we instead calculate the size once and store it in a variable. This is not critical for performance, but I still think it's nice to do.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8223308
> Webrev: http://cr.openjdk.java.net/~pliden/8223308/webrev.0
> 
> /Per




More information about the hotspot-gc-dev mailing list