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

(dc) DatagramChannel send/receive fails with UOE if buffer backed by memory segment allocated from shared arena

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 24
    • 22, 24
    • core-libs
    • b02
    • Verified

        Reported here:
        https://mail.openjdk.org/pipermail/nio-dev/2024-June/016454.html

        DatagramChannel send/receive fails like this:

        java.lang.UnsupportedOperationException: ByteBuffer derived from closeable shared sessions not supported

        where the given ByteBuffer is backed by a memory segment allocated from a shared Arena. No expectation is allocated from a confined or auto, or the global arena.

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: