[JIRA] Created: (CAY-882) Configuration shutdown hook thread may lead to memory leaks

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Thu Oct 18 2007 - 16:01:00 EDT

  • Next message: Toni Lamar (JIRA): "[JIRA] Created: (CAY-883) Admin - JIRA component for DV and DVModeler"

    Configuration shutdown hook thread may lead to memory leaks
    -----------------------------------------------------------

                     Key: CAY-882
                     URL: https://issues.apache.org/cayenne/browse/CAY-882
                 Project: Cayenne
              Issue Type: Bug
              Components: Cayenne Core Library
        Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 3.0
                Reporter: Andrus Adamchik
                Assignee: Andrus Adamchik
                Priority: Minor
                 Fix For: 3.0

    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

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Thu Oct 18 2007 - 16:01:40 EDT