continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent N Atkinson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CONTINUUM-2744) Project import should not use JVM exit hooks to cleanup directories
Date Fri, 10 Apr 2015 00:05:12 GMT

     [ 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)

Mime
View raw message