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

Comparing jsr166/src/main/java/util/concurrent/SynchronousQueue.java (file contents):
Revision 1.113 by jsr166, Thu Feb 19 02:57:57 2015 UTC vs.
Revision 1.114 by jsr166, Mon Mar 23 18:48:19 2015 UTC

# Line 1173 | Line 1173 | public class SynchronousQueue<E> extends
1173              transferer = new TransferStack<E>();
1174      }
1175  
1176 +    static {
1177 +        // Reduce the risk of rare disastrous classloading in first call to
1178 +        // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773
1179 +        Class<?> ensureLoaded = LockSupport.class;
1180 +    }
1181   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines