RFR: 8209831: ZGC: Clean up ZRelocationSetSelectorGroup::semi_sort()

Erik Österlund erik.osterlund at oracle.com
Wed Aug 22 12:36:46 UTC 2018


Hi Per,

Looks good.

Thanks,
/Erik

On 2018-08-22 09:53, Per Liden wrote:
> A cleanup of ZRelocationSetSelectorGroup::semi_sort() can save us 16K 
> worth of stack space, by having one single array act as both "slots" 
> and "fingers". This works because the "slots" array is just an 
> intermediate step when calculating the "fingers", and the different 
> uses don't overlap.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8209831
> Webrev: http://cr.openjdk.java.net/~pliden/8209831/webrev.0
>
> /Per




More information about the hotspot-gc-dev mailing list