[jboss-jira] [JBoss JIRA] (AS7-5389) Remove repetitive File.deleteOnExit() calls

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Aug 16 10:13:15 EDT 2012


Brian Stansberry created AS7-5389:
-------------------------------------

             Summary: Remove repetitive File.deleteOnExit() calls
                 Key: AS7-5389
                 URL: https://issues.jboss.org/browse/AS7-5389
             Project: Application Server 7
          Issue Type: Task
    Affects Versions: 7.1.2.Final (EAP)
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 7.2.0.CR1, 7.1.4.Final (EAP)


Scan for uses of File.deleteOnExit() and remove any that may occur an unlimited number of times over the life of a VM. This call results in a registration in the java.io.DeleteOnExitHook shutdown hook that won't be cleared until the hook runs, with no API to clear the registration, so calling this method is a memory leak.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list