[Oberon] Re (2): Mail.GetUIDLs
Alexander Iljin
ajsoft at yandex.ru
Fri Jan 20 05:21:03 CET 2012
Hello!
>> The anonymous file will be garbage-collected at a later time.
>
> Garbage collection for direct access memory is mentioned often.
> Is "garbage collect" the right term for this salvaging of a disused
> anonymous file?
The Files.File object is created in memory with NEW, and it will be
garbage-collected later. When the object is collected, it finalizes
itself by deleting its temporary disk file, if any. (Theoretically,
nothing prevents anonymous files from being completely memory-based,
it's an implementation detail.) So, the disk file will deleted in the
process of garbage-collection. The term "garbage-collection" directly
applies to the memory object, and, keeping in mind the finalization
process, can be indirectly applied to other resources.
PS: Excuse me for the Base64 encoding, if any. I currently use a
web interface for emailing, not my regular program.
---=====---
Alexander
More information about the Oberon
mailing list