Access operation and read/write. What is a difference?

84 views Asked by At

enter image description here

What is a difference between an access operation and read/write operation? I was convinced that read/write = access. Please explain.

This slide comes from http://www.cs.umd.edu/~pugh/java/memoryModel/Dagstuhl.pdf

1

There are 1 answers

0
Stephen C On BEST ANSWER

They mean the same thing. The access operations on a volatile variable are reads and writes.

In the JLS (17.4.2) they use slightly different terminology. The Actions that are relevant to the JMM model are listed as Read, Write, Volatile read, Volatile write, and so on. (The reason for using different terms is to allow greater precision in the specification.)