#Understanding pointer fields in structs

8 messages · Page 1 of 1 (latest)

spring jay
#

any pointers currently alive to an object will prevent that object from being collected

#

once those OTP objects themselves are collected, then the pointed-to objects become available to collect (if no other pointers to them remain)

shell orbit
#

i mean their pointers

spring jay
#

if no pointers to an object remain, it can be collected

#

i'm not following precisely what you mean by "their pointers"

#

pointers to them, or pointers that they contain?

shell orbit