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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: core-libs
    • b07

      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.

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

              Created:
              Updated:
              Resolved: