ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Exchanger.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Exchanger.java (file contents):
Revision 1.78 by dl, Sat Jun 4 18:46:25 2016 UTC vs.
Revision 1.79 by jsr166, Sun Jun 5 20:39:02 2016 UTC

# Line 212 | Line 212 | public class Exchanger<V> {
212       * not to be as readily inlined by dynamic compilers when they are
213       * hidden behind other methods that would more nicely name and
214       * encapsulate the intended effects). This includes the use of
215 <     * putXRelease to clear fields of the per-thread Nodes between
215 >     * setRelease to clear fields of the per-thread Nodes between
216       * uses. Note that field Node.item is not declared as volatile
217       * even though it is read by releasing threads, because they only
218       * do so after CAS operations that must precede access, and all

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines