[jboss-jira] [JBoss JIRA] (AS7-5389) Remove repetitive File.deleteOnExit() calls
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Aug 16 10:15:15 EDT 2012
[ https://issues.jboss.org/browse/AS7-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-5389:
----------------------------------
Attachment: deleteOnExit.txt
Attached is a grep of current uses of this method. This of course could grow out of date.
> 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
> Priority: Critical
> Fix For: 7.2.0.CR1, 7.1.4.Final (EAP)
>
> Attachments: deleteOnExit.txt
>
>
> 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