[armedbear-ticket] [armedbear] #56: Eliminate use of temporary files in COMPILE and COMPILE-FILE
#56: Eliminate use of temporary files in COMPILE and COMPILE-FILE -------------------------+-------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: new Priority: major | Milestone: Component: compiler | Version: Keywords: | -------------------------+-------------------------------------------------- The functions COMPILE and COMPILE-FILE use temporary files for the class files generated by the compiler. However, COMPILE directly loads them back into memory and deletes the temp file, while COMPILE-FILE deletes the temp file after adding it to a ZIP archive. This ticket exists to indicate that infrastructure is required to better manage where output goes to, abstracting from the temp files. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56> armedbear <http://common-lisp.net/project/armedbear> armedbear
#56: Eliminate use of temporary files in COMPILE and COMPILE-FILE --------------------------+------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: new Priority: major | Milestone: Component: compiler | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Comment(by trittweiler): When working on this, I think it makes sense to base COMPILE-FILE on a COMPILE-FROM-STREAM. The latter function could then find use in ABCL's SWANK backend (for implementing C-c C-c.) ECL, and CMUCL both provide such a COMPILE-FROM-STREAM function. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56#comment:1> armedbear <http://common-lisp.net/project/armedbear> armedbear
#56: Eliminate use of temporary files in COMPILE-FILE --------------------------+------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: new Priority: major | Milestone: Component: compiler | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Comment(by ehuelsmann): Changing ticket title: temp files are no longer used with COMPILE; only with COMPILE-FILE now. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56#comment:2> armedbear <http://common-lisp.net/project/armedbear> armedbear
#56: Eliminate use of temporary files in COMPILE-FILE --------------------------+------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: new Priority: major | Milestone: Component: compiler | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Comment(by ehuelsmann): An intermediate step could be to store the temp files in the location indicated by java.io.tmpdir property. This property should point to a location on local disk, eliminating any network turn-arounds required to stat(), read and delete the files during compilation. That should at least speed up compilation by a lot in case the target is non-locally stored. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56#comment:3> armedbear <http://common-lisp.net/project/armedbear> armedbear
#56: Eliminate use of temporary files in COMPILE-FILE --------------------------+------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: new Priority: major | Milestone: 0.23 Component: compiler | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by ehuelsmann): * milestone: => 0.23 Comment: The suggestion in the previous comment should be doable relatively short term. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56#comment:4> armedbear <http://common-lisp.net/project/armedbear> armedbear
#56: Eliminate use of temporary files in COMPILE-FILE --------------------------+------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: closed Priority: major | Milestone: 0.23 Component: compiler | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by mevenson): * status: new => closed * resolution: => fixed Comment: I think has been addressed by Alessio long ago. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56#comment:5> armedbear <http://common-lisp.net/project/armedbear> armedbear
#56: Eliminate use of temporary files in COMPILE-FILE --------------------------+------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: reopened Priority: major | Milestone: 0.23 Component: compiler | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by astalla): * status: closed => reopened * resolution: fixed => Comment: I don't recall ever fixing it, and Erik confirms COMPILE-FILE is still using temporary files. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56#comment:6> armedbear <http://common-lisp.net/project/armedbear> armedbear
#56: Eliminate use of temporary files in COMPILE-FILE --------------------------+------------------------------------------------- Reporter: ehuelsmann | Owner: ehuelsmann Type: enhancement | Status: reopened Priority: minor | Milestone: unscheduled Component: compiler | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by mevenson): * priority: major => minor * milestone: 0.23 => unscheduled -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/56#comment:7> armedbear <http://common-lisp.net/project/armedbear> armedbear
participants (1)
-
armedbear