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

need indexed access to externally-managed ByteBuffer

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        An application embedding nashorn for high-performance IO would like to use an external ByteBuffer (perhaps a direct NIO ByteBuffer) as the backing storage for efficiency (think zero-copy) and still be able to use the external ByteBuffer as a JavaScript array. For an example, see the function SetIndexedPropertiesToExternalArrayData in the v8 API.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sundar Sundararajan Athijegannathan
                  Reporter:
                  akhil Akhil Arora (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: