Java 6 very slow on Linux?!

Hi,

we're using Linux 2.6.9-55.ELsmp on 2 x Xeon 2.4 Ghz machines.

Now we switched from 1.5.0_11-b03 to build 1.6.0_01-b06, mixed mode and all applications are tremendously slower, about 7 times. Servers which were using 10-15 % CPU are now using about 85%.

On windows everything is running as usual, independent from the JVM-version.

I also tried a simpl test like:

int a=0;

for (int i = 0; i < 1000000000; i++)

{

a +=1 ;

if (a%1000==0)

a-=1;

}

And also that is 7 times slower.

Does anybody have an idea? Please help!

Thanks in advance,

Robert.

[832 byte] By [Robert_Golda] at [2007-11-27 8:15:43]
# 1
Try testing with something real.Testing with the code you posted is basically pointless.
jschella at 2007-7-12 20:00:32 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
As written in my post: ALL servers (which are real applications) are consuming CPU like crazy. At startup, at runtime - all the time... :-(Anybody any suggestions?Message was edited by: Robert_Gold
Robert_Golda at 2007-7-12 20:00:32 > top of Java-index,Java HotSpot Virtual Machine,Specifications...