是否值得从 Oracle JVM 1.6.0_07 升级到更新版本?

发布于 2024-11-09 07:14:51 字数 369 浏览 0 评论 0原文

我正在开发一个 Java 应用程序,该应用程序在 Oracle JVM(内部版本 1.6.0_07-b06)之上的 Tomcat 6 中运行。这个 JVM 现在已经有 2 年多了,我认为升级到更新的版本(例如 build 1.6.0_25-b06)将是一个好主意。

升级 JVM 会对我的应用程序的性能或稳定性产生很大影响吗?是否有任何好的基准来衡量 JVM 构建之间可能存在的性能差异?对于已引入的新功能及其重要性,是否有任何好的文章? 此页面显示了所有更新并描述了新功能,但没有不清楚我应该关心哪些功能。

I work on a Java application which is run within Tomcat 6 on top of the Oracle JVM (build 1.6.0_07-b06). This JVM is now 2+ years old and I think upgrading to a newer version (e.g. build 1.6.0_25-b06) would be a good idea.

Will upgrading the JVM make much impact on performance or stability of my application? Are there any good benchmarks of the likely performance difference between JVM builds? Are there any good writeups of the new features which have been introduced along with their significance? This page shows all the updates and described the new features but doesn't make it clear which features I should care about.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

雪若未夕 2024-11-16 07:14:51

在此时间范围内进行了许多安全修复。因此,如果这是一个面向公众的服务器(或者甚至是一个具有大量受众的可访问的内联网服务器),那么仅此一点就足以升级到最新版本。

话虽如此:Oracle JVM 的更新版本中很少有重大性能改进。虽然总会有一些小的改进,但主要的更改通常最终会出现在主要版本中。

Java 6 Update 10 在某种程度上是一个例外,因为它包含了一些半重大的更改。

我的建议是:更新。 制定更积极的升级计划。

There have been many security fixes in this time frame. So if this is a publicly facing server (or even an accessible intranet server with a large-ish audience), then that alone is enough reason to upgrade to the newest release.

Having said that: major performance improvements in Update releases are rare with the Oracle JVM. While there are always some minor improvements, major changes usually end up in major releases.

Java 6 Update 10 was somewhat of an exception, in that it included some semi-major changes.

My suggestion: update. And work on a more aggressive upgrading-schedule.

伴梦长久 2024-11-16 07:14:51

确实。它可能会提高性能并修复安全问题和其他错误。

它总是有可能产生负面影响,因此请确保保留当前的 ​​Java 安装,以便在出现问题时可以恢复它。

...但没有明确说明我应该关心哪些功能

的,Oracle 确实没有责任告诉您要关心什么:-)

说真的,与您相关的问题将取决于您的应用程序。发行说明假设您是专业人士,并且能够对这些事情做出自己的明智判断。 (这包括在测试平台上进行尝试并测量任何性能变化。)

Definitely. It is likely to improve performance and fix security issues and other bugs.

It is always possible that it could have a negative impact, so just make sure that you keep your current Java installation around so that you can revert it there are problems.

... but doesn't make it clear which features I should care about

Yea well, its not really Oracle's responsibility to tell you what to care about :-)

Seriously, the issues that are relevant to you will depend on your application. The release notes assume that you are a professional and are able to make your own informed judgements on these things. (And that includes trying things out on your test platform and measuring any performance changes.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文