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

Comparing jsr166/src/jdk7/java/util/concurrent/FutureTask.java (file contents):
Revision 1.4 by jsr166, Thu Mar 5 00:32:52 2015 UTC vs.
Revision 1.5 by jsr166, Mon Mar 23 18:56:40 2015 UTC

# Line 470 | Line 470 | public class FutureTask<V> implements Ru
470          } catch (Exception e) {
471              throw new Error(e);
472          }
473 +
474 +        // Reduce the risk of rare disastrous classloading in first call to
475 +        // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773
476 +        Class<?> ensureLoaded = LockSupport.class;
477      }
478  
479   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines