RFR: dynamic/static heuristics fixes, pack of 3
Zhengyu Gu
zgu at redhat.com
Tue Oct 24 19:08:50 UTC 2017
Looks good to me.
Nit:
shenandoah/shenandoahCollectorPolicy.cpp
virtual ~ShenandoahStaticHeuristics() {} is unnecessary.
-Zhengyu
On 10/24/2017 01:29 PM, Aleksey Shipilev wrote:
> On 10/24/2017 06:41 PM, Roman Kennke wrote:
>> Am 24.10.2017 um 17:55 schrieb Aleksey Shipilev:
>>> http://cr.openjdk.java.net/~shade/shenandoah/heuristics-static/webrev.01/
>>>
>>> This includes several small adjustments to "dynamic" / "static" heuristics:
>>>
>>> a) "Rename dynamic heuristics to static": This alleviates confusion against "adaptive", and better
>>> reflects the static nature of the heuristics that only watches the static thresholds without
>>> modifying them.
>>>
>>> b) "Static heuristics should use non-zero allocation threshold": the comment hopefully explains it.
>>> There are cases when static heuristics starts running back-to-back cycles otherwise.
>>>
>>> c) "Static heuristics should be really static and report decisions": this makes static heuristics
>>> disregard CSetThreshold (which is mostly dead anyway), and start the cycle based on free/allocation
>>> thresholds only
>>>
>>> Testing: hotspot_gc_shenandoah (String dedup tests still fail), misbehaving benchmarks
>>>
>>> Thanks,
>>> -Aleksey
>>>
>> Looks good to me
>
> Thanks! Other reviews? I'd like this patch to hit today's nightlies.
>
> -Aleksey
>
>
More information about the shenandoah-dev
mailing list