
7 Aug
2008
7 Aug
'08
1:30 a.m.
so Bulat ..
You seem to be saying what I suspect ... i.e. if an allocaBytes call is
inside a function, when the function is exited then the said heap object is
GC'd??
Regards, Vasili
On Thu, Aug 7, 2008 at 12:25 AM, Bulat Ziganshin
Hello Vasili,
Thursday, August 7, 2008, 9:13:43 AM, you wrote:
What is the lifetime of various heap objects ... e.g. created by
allocaBytes, alloca, etc?
alloca/allocaBytes just mimicks stack allocation but actually allocates buffer in usual heap. this buffer lives while references to it exists
on practice, it's usually gc'ed by next minor GC
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com