RFR: leverage profiling for tableswitch/lookup switch

Aleksey Shipilev shade at redhat.com
Thu Feb 1 09:17:38 UTC 2018


On 02/01/2018 09:03 AM, Roland Westrelin wrote:
> 
> Here is a new webrev that includes your suggestions:
> 
> http://cr.openjdk.java.net/~roland/shenandoah/switch-profiling/webrev.01/

Looks good!

It looks like ShenandoahUseSwitchProfiling can be UseProfileSwitchPredicate (or something), and can
reside in c2_globals, like our own UseProfiledLoopPredicate? I mean, there is no need to guard it
with Shenandoah* flag, since it seems to be a generic optimization.

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list