| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8085418 | emb-9 | Unassigned | P4 | Resolved | Fixed | team | 
                    For switch statements, javac can emit a tableswitch or a lookupswitch bytecode. The estimate of the cost for lookupswitch is overly conservative causing javac to favor larger tableswitch instructions more often than necessary.
A detailed discussion of the metric can be found on the compiler-dev mailing list here:
http://mail.openjdk.java.net/pipermail/compiler-dev/2014-September/008987.html
            
A detailed discussion of the metric can be found on the compiler-dev mailing list here:
http://mail.openjdk.java.net/pipermail/compiler-dev/2014-September/008987.html
- backported by
- 
                    JDK-8085418 Reduce size of bytecode for large switch statements -           
- Resolved
 
-         
- relates to
- 
                    JDK-8060234 Fix push for JDK-8058243 -           
- Closed
 
-         
- 
                    JDK-8060249 Backout fix for JDK-8058243 -           
- Closed
 
-