RFR(M): 8200303: C2 should leverage profiling for lookupswitch/tableswitch

Roland Westrelin rwestrel at redhat.com
Mon Apr 9 11:02:05 UTC 2018

> But in your case I thouight just add MachJumpNode class and its supers 
> MachConstantNode and MachTypeNode.

MachJumpNode in the SA would need code to read the probabilities from
the MachJumpNode in the VM process (that is, read the array address and
then each elements, one per existing projection of the
MachJumpNode). That doesn't sound straightforward (and high priority
either). I'd like to file a bug for that and take care of it later. What
do you think?


More information about the hotspot-compiler-dev mailing list