RFR(xs): 8198271: Make CollectedHeap::create_heap_space_summary() virtual
per.liden at oracle.com
Mon Feb 19 07:37:45 UTC 2018
Thanks Kim and Thomas for reviewing.
On 02/16/2018 08:15 PM, Thomas Schatzl wrote:
> On Fri, 2018-02-16 at 14:56 +0100, Per Liden wrote:
>> This patch makes CollectedHeap::create_heap_space_summary() virtual,
>> allow a GC to override it. The current default implementation
>> that the "heap space" is the same as the "reserved_region", which
>> necessarily true. ZGC (and possibly Shenandoah in the future?) have
>> different heap layout and thus needs to override this function.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8198271
>> Webrev: http://cr.openjdk.java.net/~pliden/8198271/webrev.0/
More information about the hotspot-gc-dev