Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8153334

Replace BufferedInputStreams use of AtomicReferenceFieldUpdater with Unsafe

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      As a small startup optimization we could replace use of AtomicReferenceFieldUpdater in java.io.BufferedInputStream to drop 4 classes from startup:

      http://cr.openjdk.java.net/~redestad/scratch/BIS.unsafe.cas.01

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                redestad Claes Redestad
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: