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] [Created] (CONTINUUM-2744) Project import should not use JVM exit hooks to cleanup directories
Date Thu, 09 Apr 2015 22:34:12 GMT
Brent N Atkinson created CONTINUUM-2744:
-------------------------------------------

             Summary: 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