It's not the only way, but it's the easiest way.

What are some other ways? I am just curious.


Also, if we were able to know the size of the object the pointer is referring to, couldn't we then add it to the GC? It sounds like a pretty complicated way, but wouldn't that be a good way if it were possible?


Reply via email to