开发者

Java native methods issues with SUN JVM (jdk1.5.0_14) and multi-core CPU’s

开发者 https://www.devze.com 2022-12-27 00:47 出处:网络
We are hosting an application on SUN JVM that handles a lot of XML parsing using Jaxb. The application is parsing the XML fine using JRockit 5 but when using the SUN JVM the JVM spends a majority of i

We are hosting an application on SUN JVM that handles a lot of XML parsing using Jaxb. The application is parsing the XML fine using JRockit 5 but when using the SUN JVM the JVM spends a majority of it’s time on native methods such as java-lang.System.arraycopy, java.lang.String.intern and java.lang.ClassLoader.getPackage. The CPU load is approx. 60% higher when using SUN JVM compared with JRockit.

Even stranger is that when we only run the application server using one core (in W开发者_开发知识库MWare) the problem disappears.

Has anyone experienced the same behavior?

Mattias Arnersten

0

精彩评论

暂无评论...
验证码 换一张
取 消