On Sun, Mar 16, 2014 at 03:00:20PM +0100, "Jörg F. Wittenberger" wrote:
> According to the manual, finalizers are only supported for non-immediate
> objects anyway:
Yeah, but note that Pluijzer's test was with *string constants*. Those
are not immediate (but because they're constants, they're no
Am 14.03.2014 22:23, schrieb Peter Bex:
On Thu, Mar 13, 2014 at 12:44:44PM +0100, pluijzer . wrote:
...
Hello Pluijzer, I had a look at the GC again, and from what I can make
of it, this happens only for constants (objects that do not live in
the stack or heap).
According to the manual, fin
On Thu, Mar 13, 2014 at 12:44:44PM +0100, pluijzer . wrote:
> I am assigning non-immediate objects to foreign void pointers. To
> prevent them from moving during garbage collection I turn the pointer
> into a gc-root.
>
> This works like I expect it would work, with one exception:
>
> It seems th
I am assigning non-immediate objects to foreign void pointers. To
prevent them from moving during garbage collection I turn the pointer
into a gc-root.
This works like I expect it would work, with one exception:
It seems that the finalizers of the objects assigned to the objects
inside the gc-roo