-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b21
The first BufferedInputStream is initialized during System.initPhase1, which we want to keep as quick as possible (since any work there may delay initialization of some VM subsystems), so it makes sense to carefully replace the ARFU.compareAndSet usage here with Unsafe.compareAndSetObject directly as a means to avoid initializing a slew of classes this early in the bootstrap process.
- duplicates
-
JDK-8153334 Replace BufferedInputStreams use of AtomicReferenceFieldUpdater with Unsafe
-
- Closed
-