Wednesday, August 3, 2011

Java 7 - HotSpot Loop optimizations issue

Java 7 GA was released last week, Unfortunately it contains hotspot compiler
optimizations, which miscompile some loops. This can affect code of several
Apache projects. Sometimes JVMs only crash, but in several cases, results
calculated can be incorrect, leading to bugs in applications (see Hotspot
bugs 7070134 [1], 7044738 [2], 7068051 [3]).

For more details, Have a look these links

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7068051
https://issues.apache.org/jira/browse/LUCENE-3335
https://issues.apache.org/jira/browse/LUCENE-3346
http://s.apache.org/StQ

http://www.lucidimagination.com/blog/2011/07/28/dont-use-java-7-for-anything/

No comments:

Post a Comment