[14] RFR(XS): 8156207 : Resource allocated BitMaps are often cleared unnecessarily

dean.long at oracle.com dean.long at oracle.com
Mon Jul 29 21:38:29 UTC 2019


I see that this has already been pushed, but I'm just curious, wouldn't 
this code be clearer if it used a copy ctor?

ResourceBitMap g(_gen.size(), false); g.set_from(_gen);

vs

ResourceBitMap g(_gen);

dl

On 7/26/19 5:23 AM, Christian Hagedorn wrote:
> Hi
>
> Please review the following patch:
> http://cr.openjdk.java.net/~thartmann/8156207/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8156207
>
> This is just a completion of the suggested change in the comments.
>
> Thank you!
>
> Best regards,
> Christian



More information about the hotspot-dev mailing list