themauritius.com offers Computer Latest Technology news, Cellphones, Desktops Digital Camera Digital Music Entertainment Gaming Headlines Home Audio and Video information technology news Internet latest technology news Mobiles MP3 Network PC technology technology news Wifi Wireless  - http://www.themauritius.com/news
Multi-Threading in a Java* Environment
http://www.themauritius.com/news/articles/25771/1/Multi-Threading-in-a-Java-Environment/Page1.html
Intel Press Room
 
By Intel Press Room
Published on November 29, 2006
 
Java* threads provide a vital performance boost to nearly all apps. Discover how these threads are becoming a standard part of Java* programming by exploiting Hyper-Threading Technology and the new multi-core Intel® processors.

Significant performance benefits

Building programs around threads of execution — that is, around specific sequences of instructions — delivers significant performance benefits. Consider, for example, a program that reads large amounts of data from disk and processes that data before writing it to the screen (such as a DVD player). On a traditional, single-threaded program (the kind most client programs use today), where only one task executes at a time, each of these activities happens as a part of a sequence of distinct phases. No data is processed until a chunk of a defined size has been read. So the program logic that could be processing the data is not executed until disk reads are complete. This leads to inferior performance.

Click here to Read the Full Article