Thanks for the feedback, John!
Updated webrev:
http://cr.openjdk.java.net/~vlivanov/8063137/webrev.03/jdk
http://cr.openjdk.java.net/~vlivanov/8063137/webrev.03/hotspot
Changes:
- renamed MHI::profileBranch to MHI::profileBoolean, and
ProfileBranchNode to ProfileBooleanNode;
- restructured
Looking very good, thanks. Ship it!
Actually, can you insert a comment why the injected counts are not scaled? (Or
perhaps they should be??)
Also, we may need a followup bug for the code with this comment:
// Look for the following shape: AndI (ProfileBoolean) (ConI 1))
Since profileBoolean