RFR: improve profiled predicates
Roland Westrelin
rwestrel at redhat.com
Fri Jan 12 16:54:42 UTC 2018
http://cr.openjdk.java.net/~roland/shenandoah/improved-profiled-predicates/webrev.00/
This change should make profiled predicates robuster:
- they now handle more control flow constructs
- instead of bailing out when profiling is missing, they assume it's an
untaken path which allows frequencies to be computed on all
paths
- they now support profiling data from lookupswitch/tableswitch (on Jump nodes)
- if a profiled predicate traps, the trap is recorded separately from
regular predicate traps. The fallback will then be to recompile
without profiled predicates but with regular predicates (instead of
disabling predicates entirely). That change requires changing how
traps are recorded and that's why there are small changes spread over
so many files.
Roland.
More information about the shenandoah-dev
mailing list