Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2744

Project import should not use JVM exit hooks to cleanup directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            batkinson Brent Atkinson
            batkinson Brent Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: