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

Use proper deallocation for FileBuff::_bigbuf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 10
    • 9, 10
    • hotspot
    • b21

    Description

      It is a good coding practice to properly deallocate dynamically allocated resources. In particular, dynamically allocated memory for arrays using the array-specific new[] operator is supposed to be deallocated using the array-specific delete[] operator. The deallocation of FileBuff::_bigbuf does not follow this recommendation and should therefore be changed.

      Attachments

        Activity

          People

            zmajo Zoltan Majo (Inactive)
            zmajo Zoltan Majo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: