I thought I would respond to another recent thread
about memory leaks with a little bit of instrumentation code to report snapshots of the object memory state at a given time. However, the code I wrote relies on all objects receiving postInit(). As far as I can see, the built in classes don't get this function called on them. Is this true and, if so, can it be changed?
I've attached the sample project, in case you'd like to take a look. At present, I have to create my own Bitmap subclass (MyBitmap) in order for it to work. Obviously, this wouldn't be practical in general.