Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-1044

Avoid using FileInputStream / FileOutputStream to avoid GC issues with finalizer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: core, web
    • Labels:
      None

      Description

      From this blog post (and similar) (https://www.cloudbees.com/blog/fileinputstream-fileoutputstream-considered-harmful) as well as pending changes to Ant (https://github.com/apache/ant/pull/77) it seems wise to change these uses, which are just in a couple of places:  FileSerializer and QueryServlet (and some demos, but those don't seem as important as "core" classes).

        Attachments

          Activity

            People

            • Assignee:
              rwhitcomb Roger Lee Whitcomb
              Reporter:
              rwhitcomb Roger Lee Whitcomb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: