[Swift-devel] [Bug 289] New: Add mechanism to delete temporary files no longer in scope

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Thu Mar 31 22:44:35 CDT 2011


https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=289

           Summary: Add mechanism to delete temporary files no longer in
                    scope
           Product: Swift
           Version: 0.93
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: SwiftScript language
        AssignedTo: hategan at mcs.anl.gov
        ReportedBy: wilde at mcs.anl.gov


NCAR (John Dennis) has requested a mechanism to allow a script to declare that
all (or specific) anonymously-mapped temporary files be deleted when they can
no longer be referenced within the script.

This form of automated file garbage collection would greatly simplify their
scripts, as they do this today using explicit rm() functions called from Swift.

There is a fair bit of discussion in swift-devel threads on this topic from
Summer 2010, as well as details in a paper that John/NCAR submitted on their
use of Swift.

Marked this prio 1 because NCAR is an important user community for the Swift
project.

This feature needs a more precise definition and some design discussion.  Its
possible that the limited data flow analysis done for array closing may also be
useful in determining when unmapped temporary files could be removed.

-- 
Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching the reporter.



More information about the Swift-devel mailing list