RFR(s): 8077415: Remove duplicate variables holding the CollectedHeap

Per Liden per.liden at oracle.com
Fri Apr 10 15:25:25 UTC 2015


Thanks Stefan!

/Per

On 2015-04-10 17:16, Stefan Karlsson wrote:
> On 2015-04-10 16:51, Per Liden wrote:
>> Hi,
>>
>> Universe::_collectedHeap points to the current CollectedHeap. However,
>> collectors also have their own static instances for no real good
>> reason. This patch removes all but the Universe::_collectedHeap and
>> let users call Universe::heap() where needed.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8077415
>>
>> Webrev: http://cr.openjdk.java.net/~pliden/8077415/webrev.0/
>
> Looks good.
>
> StefanK
>
>>
>> (This patch build on top of
>> http://cr.openjdk.java.net/~pliden/8077413/webrev.0/ which is
>> currently out for review)
>>
>> cheers,
>> /Per
>



More information about the hotspot-gc-dev mailing list