Java White Papers

Java Threads: Minimal Synchronization Techniques

Overview This paper completes the discussion of data synchronization and thread safety by examining two related topics. The paper begins with a discussion of the Java memory model, which defines how variables are actually accessed by threads. This model has some surprising ramifications; one of the issues that one will clear up from the previous papers is just what it means for a thread to be modeled as a list of instructions. After explaining the memory model, it discusses how volatile variables fit into it and why they can be used safely among multiple threads. This topic is all about avoiding synchronization.

Further White Paper Details
PublisherO'Reilly Media File FormatPDF
Date PublishedAugust 2004 Downloads2
FormatBook chapters   
Topics
E4 embraces web 2.0 audience

E4 embraces web 2.0 audience

Case study: How the Channel 4's teen channel put its mind to building a community website... more

Cheat Sheet: Cloud computing

Cheat Sheet: Cloud computing

A tech storm is brewing...  more


Quick Sitemap Links: