RFR [10]: 8185362: Replace use of AtomicReferenceFieldUpdater from BufferedInputStream with Unsafe

Claes Redestad claes.redestad at oracle.com
Mon Aug 21 10:20:56 UTC 2017


by using Unsafe.compareAndSetObject instead of AtomicReferenceFieldUpdater
in BufferedInputStream we can avoid some classloading and initialization 
during System.initPhase1.

Webrev: http://cr.openjdk.java.net/~redestad/8185362/jdk.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8185362


More information about the core-libs-dev mailing list