Updated fix for jdk10 Generational Partial Heuristics...
Aleksey Shipilev
shade at redhat.com
Tue Sep 12 16:54:10 UTC 2017
On 09/12/2017 06:51 PM, Aleksey Shipilev wrote:
> *) Seems to me that entire deal with initialize() method can be gone if ShenandoahPartialHeuristics
> constructor accepts the size_t parameter for from_idxs initialization. You can seed it off the
> static const:
>
> static const size_t DEFAULT_THRESHOLD = 100;
>
> ShenandoahGenerationalPartialHeuristics() : ShenandoahPartialHeuristics(DEFAULT_THRESHOLD) {
> if (FLAG_IS_DEFAULT(ShenandoahPartialInboundThreshold)) {
> FLAG_SET_DEFAULT(ShenandoahPartialInboundThreshold, DEFAULT_THRESHOLD);
> }
> }
Or screw it, and just initialize from_idx with num_regions() size?
-Aleksey
More information about the shenandoah-dev
mailing list