jdk/src/java.base/share/classes/java/lang/ref/Reference.java
changeset 32100 8a0db19f4e84
parent 31671 362e0c0acece
child 32649 2ee9017c7597
--- a/jdk/src/java.base/share/classes/java/lang/ref/Reference.java	Fri Jul 24 15:28:59 2015 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/ref/Reference.java	Thu Jul 30 16:29:13 2015 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -101,7 +101,7 @@
      *    Inactive:   this
      */
     @SuppressWarnings("rawtypes")
-    Reference next;
+    volatile Reference next;
 
     /* When active:   next element in a discovered reference list maintained by GC (or this if last)
      *     pending:   next element in the pending list (or null if last)