In a fit of pique I wrote:
My concern is more along the lines of dumping images that contain passwords and session keys.
Well, I seem to have my answer; sensitive interleaved garbage IS getting dumped into the image when I exit via 'Save and quit.' A look through InterpGCC tells me that a compaction is performed when fullGC() is called during the snapshot. Can anyone explain why I'm able to find leftover garbage in the image I get from 'save and quit' in the menu, but not: Smalltalk snapshot: true andQuite: true?
My brain hurts!
Try a full garbage collect after the system comes up and see whether the stuff goes away then. You may have hit a problem where a second full gc helps or it may be that your garbage is not in fact garbage. If the latter and you have been invoking via expression evaluation on the fly, you might try a 'Smalltalk forgetDoIts' and then a gc or two. Also, beware of the pernicious workspace variables (try closing any editors you have been evaluating expressions in). Failing the above, you will need to do some reference tracing to find the unexpected owner(s).
frank
At 10:20 PM 1/11/98 -0500, you wrote:
In a fit of pique I wrote:
My concern is more along the lines of dumping images that contain passwords and session keys.
Well, I seem to have my answer; sensitive interleaved garbage IS getting dumped into the image when I exit via 'Save and quit.' A look through InterpGCC tells me that a compaction is performed when fullGC() is called during the snapshot. Can anyone explain why I'm able to find leftover garbage in the image I get from 'save and quit' in the menu, but not: Smalltalk snapshot: true andQuite: true?
My brain hurts!
-- Christopher Oliver Traverse Communications Systems Coordinator 223 Grandview Pkwy, Suite 108 oliver@traverse.com Traverse City, Michigan, 49684 (define magic (lambda (f) (lambda (x) x))) (define (more-magic n) (lambda (f) (lambda (x) (f ((n f) x)))))
squeak-dev@lists.squeakfoundation.org