Coldfusion 10使用Java 1.7时比1.6慢 [英] Coldfusion 10 slower when using Java 1.7 compared to 1.6

查看:174
本文介绍了Coldfusion 10使用Java 1.7时比1.6慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个webservice在 Coldfusion 10 64bit 上运行。在调查内存泄漏时,我将JRE从1.6升级到1.7,但注意到了显着的性能损失。我创建了一个简单的测试webservice,在JRE 1.6我可以轻松地运行5000请求每分钟只要我改变JRE到1.7,虽然这个速率下降太少每分钟2000或更少。有谁知道调整设置或我缺少的东西。



首选项是使用 JRE 1.7 ,因为它似乎已修复我所遇到的内存泄漏问题。 / p>


  • 运行服务器JRE:Java版本1.7.0_51Java(TM)SE运行时环境(版本1.7.0_51-b13) Java HotSpot(TM)64位服务器虚拟机(构建24.51-b03,混合模式)


  • JVM设置中的垃圾回收: XX:+ UseParallelGC


  • 将垃圾收集更改为: -XX:+ UseG1GC




后续来自此处的建议,但不会提高性能。将通过jvisualvm进行审核并发布我的发现。



更新:
Java 7具有更改了处理同步类加载器的方式,看起来这可能是造成减速的原因。



更新
Adob​​e已经确认错误,并正在修复它。 Adob​​e Bug基本记录

解决方案

答案是Adobe已经承认错误,并正在寻找解决它。 Adob​​e错误库记录


I have a webservice running on Coldfusion 10 64bit. While investigating a memory leak I went to upgrade the JRE from 1.6 to 1.7 but noticed a significant performance hit. I had created a simple test webservice which on JRE 1.6 I could run easily at 5000 requests per minute as soon as I changed the JRE to 1.7 though this rate drops too 2000 or less per minute. Does anyone know of tuning settings or something I am missing.

The preference is to use JRE 1.7 as it appears to have fixed the memory leak issue I was having.

  • Running Server JRE: java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

  • Garbage Collection in JVM settings: -XX:+UseParallelGC

  • Changed Garbage Collection to : -XX:+UseG1GC this made no difference.

Followed the recommendations from here with no increase in performance. Will review with jvisualvm and post my findings.

Update: Java 7 has changed the way it deals with synchronizing class loaders and it looks like this may be the cause of the slowdown.

Update Adobe has acknowledged the bug and is looking to fix it. Adobe bug base record.

解决方案

Answer for this is that Adobe has acknowledged the bug and is looking to fix it. Adobe bug base record.

这篇关于Coldfusion 10使用Java 1.7时比1.6慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆