Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Java 1.4 memory model and hyper threading (http://www.velocityreviews.com/forums/t387442-java-1-4-memory-model-and-hyper-threading.html)

usenet@kikobu.com 10-02-2006 03:36 PM

Java 1.4 memory model and hyper threading
 

Hi.

Are there any documented problems with running a J2EE application on a
1.4 JVM on a machine with hyper threading enabled? Specifically, can
the broken memory model cause problems in a such environment?

Br,

Morten


Thomas Hawtin 10-02-2006 05:14 PM

Re: Java 1.4 memory model and hyper threading
 
usenet@kikobu.com wrote:
>
> Are there any documented problems with running a J2EE application on a
> 1.4 JVM on a machine with hyper threading enabled? Specifically, can
> the broken memory model cause problems in a such environment?


Sun's 1.4 JVMs actually use the 1.5 memory model. So, you should be
alright from that perspective, unless you use some dodgy open source "Java".

As for hyper-threading, multi-core chips or multiple processor chip
machines, you are more likely to find bugs than on single
hardware-thread platforms. Most threaded code is full of threading bugs.

Tom Hawtin

=?ISO-8859-1?Q?Arne_Vajh=F8j?= 10-03-2006 02:01 AM

Re: Java 1.4 memory model and hyper threading
 
usenet@kikobu.com wrote:
> Are there any documented problems with running a J2EE application on a
> 1.4 JVM on a machine with hyper threading enabled? Specifically, can
> the broken memory model cause problems in a such environment?


Not that I know of.

Very early 1.4 JVM's did not perform wll with HT enabled, but
that should be solved a long time ago.

If you have a threading bug in your code, then enabling HT may
cause it to surface, but that is not HT's fault.

Arne


All times are GMT. The time now is 12:50 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.