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

(bf) DirectByteBuffer constructor will leak if allocating Deallocator or Cleaner fails with OOME

    XMLWordPrintable

Details

    • b19

    Backports

      Description

        This was reported on nio-dev. In DirectByteBuffer, if allocating the Deallocator or Cleaner failed with OOME then the constructor will throw without releasing the memory that it has allocated.

        Attachments

          Issue Links

            Activity

              People

                bpb Brian Burkhalter
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: