JavaMemoryModel: Volatile spec complience tests

From: Bill Pugh (pugh@cs.umd.edu)
Date: Wed May 31 2000 - 14:55:24 EDT


I've made the three compliance tests for the volatile spec available from
        http://www.cs.umd.edu/~pugh/java/memoryModel

AtomicLong.java
        - tests for atomic reads/writes of longs
CoherenceVolatile.java
        - tests for violation of coherences for volatile variables
        - indicates illegal compiler optimization of volatiles
ReadAfterWrite.java
        - Tests for reordering of a volatile read after a volatile write
        to a different variable.
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:26 EDT