Java 7 至少和 Java 6 一样稳定吗?
我记得Java 7最初发布时,有很多建议不要将其用于任何用途,因为编译器优化中存在一些错误。这显然不仅仅是假设。从那以后我就没有密切关注事态的发展。这些问题是否已得到解决并且目前普遍认为可以安全使用?
java.com 的 此页面 让我觉得它可能还没有准备好还没有,但我不想读太多。如果还不安全,那么使用 -XX:-UseLoopPredicate
作为 VM 参数是否足够?
请注意,我指的不仅仅是特定的 Lucene 问题,而是 Java 7 的总体稳定性。Java 7 至少和 Java 6 一样稳定吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自您链接到的文章:
链接到的文章说:
此答案由 The Commission For Clicking On Links For You 支付。
From the very article you linked to:
The article that links to says:
This answer paid for by The Committee For Clicking On Links For You.
主要错误 Lucene 和 Solr 的 Uwe Schindler 宣布 Java7u1 已修复(阅读他的更多内容 这里。现在可以安全地使用 Java7,特别是考虑到还有 第二次更新为其发布,“提高了可靠性和性能”。
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".