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

Per Liden per.liden at oracle.com
Fri May 3 12:13:41 UTC 2019


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