On Tue, Oct 18, 2016 at 4:26 PM, Vitaly Davidovich <vita...@gmail.com> wrote:
> "jsr166 style" - makes it easy on javac and the JIT, if not for humans. >> > In some of the cases here, I'd consider it a significant JIT failure if > the "jsr166 style" makes a difference (I'm not sure how this makes a > difference to javac - did you mean interpreter?). Is this jsr style a > carryover from long ago? Maybe it needs to be reconsidered. The code > clarity isn't terrible, but it would be unfortunate to do this in simple > cases where the compiler ought to handle it just fine - does it not? > I consider it a significant failure that 1. JDK-6445664 <https://bugs.openjdk.java.net/browse/JDK-6445664> Eliminate remaining performance penalty for using assert still hasn't been fixed.