RFR: 8223308: ZGC: Remove ZGranuleMap::size()
Per Liden
per.liden at oracle.com
Mon May 6 21:08:54 UTC 2019
Thanks Erik!
/Per
On 05/05/2019 10:32 PM, Erik Osterlund wrote:
> 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