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: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20150504/7c066589/attachment.htm>


More information about the hotspot-gc-dev mailing list