[Vm-dev] debugging the garbage collector

tim Rowledge tim at rowledge.org
Fri Feb 15 01:32:41 UTC 2013


To add (maybe) to what Dave said, given that the vm has worked for a long time on at least OS X, the actual code for the GC is unlikely to be at fault in the sense of a logic bug. The two more plausible problems might be
a) some issue where either your platform specific settings or the compiler you're using have a problem that results in a pointer being incorrect for some reason. 64/32 bit clash perhaps?
b) some issue in platform specific code having a bug that means you are passing an improper value back from a prim etc. For example you might inadvertently pass back an OS pointer to a window instead of putting that pointer into a bytearay object. Not that I've ever done that. Nope. Really.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
<-------- The information went data way -------->




More information about the Vm-dev mailing list