RFR (XXS): 8154838: G1CardLiveData::free_large_bitmap() uses wrong calculation to determine the number of words

Jon Masamitsu jon.masamitsu at oracle.com
Thu Apr 21 16:42:20 UTC 2016


Looks good.

Jon

On 04/21/2016 05:40 AM, Thomas Schatzl wrote:
> Hi all,
>
>    could I have reviews for this one-line change that fixes calculation
> of the number of words for a given size in bits in
>   G1CardLiveData::free_large_bitmap()?
>
> The change is to use the exact same calculation as in
>   G1CardLiveData::allocate_large_bitmap() for uniformity.
>
> There is no semantic difference in both since the size_in_bits
> parameter is always word-aligned anyway.
>
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8154838
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8154838/webrev/
> Testing:
> local compilation, local run of gcbasher
>
> Thanks,
>    Thomas
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20160421/73a2ab2e/attachment.html>


More information about the hotspot-gc-dev mailing list