Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-882

Configuration shutdown hook thread may lead to memory leaks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2 branch, 2.0 branch, 3.0
    • 3.0M3
    • Core Library
    • None

    Description

      As pointed out by Mike Kienenberger [1] , Configuration instance eagerly creates an shutdown thread object that is not used in 99.99% of cases and seems to leak memory under JDK 1.4. Need to instantiate it on demand.

      [1] http://objectstyle.org/cayenne/lists/cayenne-user/2007/10/0082.html

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: