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

Use VarHandle access in Data(Input | Output)Stream classes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • None
    • core-libs
    • b07

    Description

      VarHandle access gives much better performance compared to explicit bit-shifting, especially for operations in loops.

      See https://github.com/openjdk/jdk/pull/11840 for similar changes made to the class java.io.Bits.

      Attachments

        Issue Links

          Activity

            People

              pminborg Per-Ake Minborg
              pminborg Per-Ake Minborg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: