Java 1.4 memory model and hyper threading

U

usenet

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
 
T

Thomas Hawtin

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?=

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top