Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Java 7 at least as stable as Java 6? [closed]

Tags:

I remember when Java 7 was initially released, there were many suggestions not to use it for anything as there were some bugs in compiler optimizations. This was apparently not merely hypothetical. I haven't followed the situation closely since then; have these issues been worked out and it is generally considered safe to use at this point?

This page from java.com makes me think perhaps it's not quite ready yet, but I don't want to read too much into it. If it is not yet safe, is it sufficient to use -XX:-UseLoopPredicate as a VM argument?

Note that I am not only referring to the specific Lucene issue but the general stability of Java 7. Is Java 7 at least as stable as Java 6?

like image 318
Michael McGowan Avatar asked Jan 23 '12 19:01

Michael McGowan


2 Answers

From the very article you linked to:

UPDATE OCTOBER 28, 2011: As noted on Uwe’s blog, Java 7u1 is documented to include the patches to address these issues.

The article that links to says:

Last night, Oracle updated the release notes of Java 7u1 and Java 6u29, stating that they fixed the three Lucene-relevant bugs (plus another one related to that). Based on this confirmation, it's now safe to use Java 7 Update 1 (and later) with Apache Lucene and Apache Solr.

This answer paid for by The Committee For Clicking On Links For You.

like image 157
millimoose Avatar answered Sep 18 '22 19:09

millimoose


The major bug that Uwe Schindler from Lucene and Solr annouced was fixed in Java7u1 (read more from him here. I believe it's safe to use Java7 now, especially given that there has also been a second update released for it that "improves reliability and performance".

like image 22
doelleri Avatar answered Sep 21 '22 19:09

doelleri