Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

Java 1.4 memory model and hyper threading

Thread view: 
usenet@kikobu.com - 02 Oct 2006 16:36 GMT
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 - 02 Oct 2006 18:14 GMT
> 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
Arne Vajhøj - 03 Oct 2006 03:01 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.