Thanks for your answer. Some more questions: - is a gc frame just a pointer? - if not, which information does it hold? In which file is the gc frame type/ structure defined? - is there exactly one gc frame for each local variable? - why is it called "frame"? The term implies, that it is around something. Is this the case?
On Sunday, July 24, 2016 at 1:56:05 PM UTC+2, Yichao Yu wrote: > > On Sun, Jul 24, 2016 at 6:03 AM, Uwe Fechner <uwe.fec...@gmail.com > <javascript:>> wrote: > > Hello, > > in the issues on github I see a lot that refer to gc frames. > > > > What is a gc frame? I know how garbage collection works in general, > > but I don't understand the meaning of gc frames in the context of Julia. > > > > Could someone explain: > > - What they are used for? > > Keep reference to local variables. > > > - When they need to be created? > > When there's local variables that are heap allocated. > > > - If they have a lifetime, that needs to be managed. > > They are stack allocated. > > > > > Thank you very much! > > > > Uwe >