Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2274 Avoid buffer copying in Codec
  3. HDDS-9295

Avoid overriding finalize() in CodecBuffer

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • db

    Description

      CodecBuffer overrides the finalize() method for leak detection. It turns out causing a much longer GC time. (Thanks duongnguyen for finding it out.)

      This JIRA is to change CodecBuffer not to override finalize(). In the test, we will create a subclass to override CodecBuffer for leak detection.

      For more information, please see the first two comments below.

      Attachments

        1. big_gc.html
          449 kB
          Duong

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: