RFR (S): 8077411: Remove CollectedHeap::supports_heap_inspection()
bengt.rutisson at oracle.com
Fri Apr 10 14:27:39 UTC 2015
On 2015-04-10 16:16, Eric Caspole wrote:
> Looks good.
> On 4/10/2015 9:26 AM, Bengt Rutisson wrote:
>> Hi everyone,
>> Could I have a couple of reviews for this small change?
>> All implementation of CollectedHeap::supports_heap_inspection() are
>> the same and all they do is return true. The only usage is to check
>> whether we can initiate a VM_GC_HeapInspection operation. So, by
>> removing the check in VM_GC_HeapInspection (since it anyway always
>> return true) we don't need CollectedHeap::supports_heap_inspection()
More information about the hotspot-gc-dev