8200303: C2 should leverage profiling for lookupswitch/tableswitch

Reviewed-by: kvn, thartmann
This commit is contained in:
Roland Westrelin 2018-04-24 15:07:20 -07:00
parent c6ece0ba39
commit 93691571bc
12 changed files with 629 additions and 106 deletions

View file

@ -1000,6 +1000,8 @@ typedef PaddedEnd<ObjectMonitor> PaddedObjectMonitor;
c2_nonstatic_field(MachIfNode, _prob, jfloat) \
c2_nonstatic_field(MachIfNode, _fcnt, jfloat) \
\
c2_nonstatic_field(MachJumpNode, _probs, jfloat*) \
\
c2_nonstatic_field(CallNode, _entry_point, address) \
\
c2_nonstatic_field(CallJavaNode, _method, ciMethod*) \
@ -1663,6 +1665,7 @@ typedef PaddedEnd<ObjectMonitor> PaddedObjectMonitor;
declare_c2_type(MachNullCheckNode, MachIdealNode) \
declare_c2_type(MachProjNode, ProjNode) \
declare_c2_type(MachIfNode, MachNode) \
declare_c2_type(MachJumpNode, MachNode) \
declare_c2_type(MachFastLockNode, MachNode) \
declare_c2_type(MachReturnNode, MachNode) \
declare_c2_type(MachSafePointNode, MachReturnNode) \