JDK 6u14 Garbage First (G1) 垃圾收集器是否适合 JRun?

发布于 2024-07-14 01:28:40 字数 257 浏览 5 评论 0原文

垃圾优先(G1)垃圾收集器 http://weblogs.java.net/blog/opinali/ archive/2009/02/here_comes_jdk.html

您认为这个垃圾收集器更适合运行 ColdFusion 8 的 JRun 吗?

Garbage First (G1) garbage collector
http://weblogs.java.net/blog/opinali/archive/2009/02/here_comes_jdk.html

Do you think this garbage collector is better for JRun, running ColdFusion 8?

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

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

发布评论

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

评论(4

萌梦深 2024-07-21 01:28:40

我会告诉你,在 ColdFusion 中更新 JVM 是一件轻而易举的事,所以我总是在最新的 JVM 发布一个月后更新到它。 到目前为止,我在使用任何版本时都没有遇到任何问题,而且 ColdFusion 似乎每次更新都会变得更快一些。

也就是说,您应该始终首先在测试机器上更新 JVM,并运行一系列测试以确保没有任何问题。

I will tell you that updating the JVM in ColdFusion is a breeze, so I always update to the latest JVM once it's been released for a month. I haven't had any problems with any of the releases thus far and ColdFusion seems to be getting a little quicker with each update.

That said, you should always updated the JVM on a test machine first and run your battery of tests to make sure nothing breaks.

阳光下的泡沫是彩色的 2024-07-21 01:28:40

G1 在 Java 6 更新 14。 从技术角度来看,这可能是一个不错的选择,但在这个版本中,它有以下奇怪的限制:

尽管 G1 可以在此版本中使用,但请注意,仅在购买了 Java 支持合同的情况下才允许在生产中使用 G1。 G1 通过 Sun 的 Java Platform Standard Edition for Business 计划获得支持。

InfoQ 猜测这是否只是一个短期限制,还是 Sun(现在的 Oracle)为了赚钱而进行的长期尝试:Sun 是否仅通过付费支持合同提供新的 G1 垃圾收集器?

G1 is available in Java 6 update 14. It might be a good choice from a technical perspective, but in this release, it has the following odd restriction:

Although G1 is available for use in this release, note that production use of G1 is only permitted where a Java support contract has been purchased. G1 is supported thru Sun's Java Platform Standard Edition for Business program.

InfoQ has speculation about whether this is just a short term limitation or a long term attempt by Sun (now Oracle) to make some money: Is Sun offering the new G1 Garbage Collector Only with a Paid Support Contract?

深海少女心 2024-07-21 01:28:40

这是您正在寻找的解决方案,请阅读垃圾收集器:

http://training.figleaf .com/curriculum/upload/AdminCF800_Unit05_configuringPerformance.pdf

(参见第 5-10 页)

<cfscript>
    obj = createObject("java", "java.lang.System");
    obj.gc();
    obj.runFinalization();
</cfscript>

Here is the solution you are looking for, read on garbage collectors:

http://training.figleaf.com/curriculum/upload/AdminCF800_Unit05_configuringPerformance.pdf

(see page 5-10)

<cfscript>
    obj = createObject("java", "java.lang.System");
    obj.gc();
    obj.runFinalization();
</cfscript>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文