Re: OFFTOPIC: Java String problem - possible VM bug

2010-08-31 Thread Konstantin Kolinko
2010/8/31 Caldarale, Charles R chuck.caldar...@unisys.com: From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: OFFTOPIC: Java String problem - possible VM bug I just looked at the sun/oracle download page and the most recent jdk there (jdk-6u21-linux-x64.bin) is still the very

OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi I am sorry, I am asking something not really related to tomcat here. While this may sound like a beginners question, I think I really what I am doing in java, but this time I suspect I have found a scenario where the sun/oracle VM exposes a bug with pure String handling. So anyone who can

Re: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Jason Britton
What version tomcat? On Mon, Aug 30, 2010 at 3:38 PM, Steffen Heil li...@steffen-heil.de wrote: Hi I am sorry, I am asking something not really related to tomcat here. While this may sound like a beginners question, I think I really what I am doing in java, but this time I suspect I have

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi What version tomcat? I see this under 6.0.29 [and I think under 6.0.18 before, but I am not sure], but as this is pure java code, not calling any tomcat code and not probably affected by tomcat code, I don't think that matters. (That's why I labeled that off-topic.) However, if it even

Re: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Jason Britton
From your original post The exception is only thrown under 64bit Linux Server-VM, within tomcat. It is neither thrown under 64bit Windows, nor on the very same Linux VM as standalone testcase, nor when a debugger is remotely attached. Sounds like you're saying it only happens within Tomcat,

RE: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: OFFTOPIC: Java String problem - possible VM bug The JREs testest are 1.6u20 and 1.6u21. Which 6u21? Just to be confusing, Sun/Oracle has released two 6u21 levels: b06 and b07. There were several fixes for spurious out-of-range

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi Which 6u21? Just to be confusing, Sun/Oracle has released two 6u21 levels: b06 and b07. java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) So I should update, right?

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi From your original post The exception is only thrown under 64bit Linux Server-VM, within tomcat. It is neither thrown under 64bit Windows, nor on the very same Linux VM as standalone testcase, nor when a debugger is remotely attached. Sounds like you're saying it only happens within

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
: Steffen Heil [mailto:li...@steffen-heil.de] Gesendet: Dienstag, 31. August 2010 01:46 An: 'Tomcat Users List' Betreff: AW: OFFTOPIC: Java String problem - possible VM bug Hi Which 6u21? Just to be confusing, Sun/Oracle has released two 6u21 levels: b06 and b07. java version

RE: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: OFFTOPIC: Java String problem - possible VM bug java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) So I should update, right? It's worth

RE: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: OFFTOPIC: Java String problem - possible VM bug I just looked at the sun/oracle download page and the most recent jdk there (jdk-6u21-linux-x64.bin) is still the very same I downloaded, that is b06. That's a bit weird - I'm

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi You're right, it doesn't, at least on Windows. Just verified that: r...@www:/opt/java/jdk1.6.0_21# ./bin/java -server -version java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

RE: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: OFFTOPIC: Java String problem - possible VM bug There is a -XX option to limit or disable SSE usage: -XX:UseSSE=n Hard to find more infomation on the web though. Even sun does not list that option. There are many, many