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

Optimize Reader.read(CharBuffer)

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      java.io.Reader.read(java.nio.CharBuffer target) could check to see if the target buffer is a heap buffer and if so, its backing array could be obtained so that the characters can be copied directly into it rather than making an intermediate array.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              mmcclosksunw Michael Mccloskey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: