Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2050

Clear Array To Allow GC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.7, 1.8.2
    • 1.9.0
    • java
    • None
    • Patch

    Description

      Java's ArrayList implementation clears all Objects from the internal buffer when the clear() method is called. This allows the Objects to be free for GC. We should do the same in Avro org.apache.avro.generic.GenericData

      ArrayList Source

      Attachments

        1. AVRO-2050.1.patch
          0.9 kB
          David Mollitor
        2. AVRO-2050.2.patch
          2 kB
          David Mollitor
        3. AVRO-2050.3.patch
          2 kB
          David Mollitor

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: