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

Optimize Reader.read(CharBuffer)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 5.0
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: