You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Brent N Atkinson (JIRA)" <ji...@apache.org> on 2015/04/10 02:05:12 UTC
[jira] [Closed] (CONTINUUM-2744) Project import should not use JVM
exit hooks to cleanup directories
[ https://issues.apache.org/jira/browse/CONTINUUM-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brent N Atkinson closed CONTINUUM-2744.
---------------------------------------
Resolution: Fixed
Fixed in r1672526.
> Project import should not use JVM exit hooks to cleanup directories
> -------------------------------------------------------------------
>
> Key: CONTINUUM-2744
> URL: https://issues.apache.org/jira/browse/CONTINUUM-2744
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Brent N Atkinson
> Assignee: Brent N Atkinson
> Fix For: 1.5.0
>
>
> The project import process implemented by {{AbstractContinuumProjectBuilder.createMetadataFile(...)}} adds a JVM hook to schedule removal of generated project directories. This suffers from at least the following problems:
> * files grow unbounded, since they will not be removed until JVM shutdown
> * if the JVM does not shutdown cleanly, the files are never removed
> * the number of JVM hooks keeps growing as projects are added
> Rather than deferring until shutdown, project files should be removed immediately after the projects are imported.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)