RFR (S): 8079091: Remove dictionary NULL check on common path of BlockFreeList methods

Jungwoo Ha jwha at google.com
Mon May 4 16:15:57 UTC 2015


Stefan, this is already reflected on webrev.03. --Jungwoo

If you want to you could remove the assert:
> -BlockFreelist::BlockFreelist() : _dictionary(NULL) {}
> +BlockFreelist::BlockFreelist()
> +    : _dictionary(new BlockTreeDictionary()) {
> +  assert(_dictionary != NULL, "Failed to allocate BlockTreeDictionary");
> +}
>
> since it's not needed.
>
> Thanks,
> StefanK
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20150504/7c066589/attachment.html>


More information about the hotspot-gc-dev mailing list