Fixing the Java Memory Model, Part 2

JSR 133, which has been active for nearly three years, has recently issued its public recommendation on what to do about the Java Memory Model (JMM).In part 1 of this series, the author focused on some of the serious flaws that were found in the original JMM, which resulted in some surprisingly difficult semantics for concepts that were supposed to be simple. This month, he reveals how the semantics of volatile and final will change under the new JMM, changes that will bring their semantics in line with most developers’ intuition. Some of these changes are already present in JDK 1.4; others will have to wait until JDK 1.5.

5 Comments

  1. 2004-04-01 7:18 pm
  2. 2004-04-01 7:52 pm
  3. 2004-04-01 9:43 pm
  4. 2004-04-02 1:32 am