YEOW! ( was: Re: Squeaklets )
Dwight Hughes
dwighth at ipa.net
Sat Jul 3 18:31:02 UTC 1999
You are probably seeing the Mac specific VM code in the
InterpreterSupportCode class "source files" message category. These
methods contain large pieces of C code as strings -- thus you can see
them directly in the image. This C code is of course maintained
externally in all the other platforms. "Smalltalk discardVMConstruction.
Symbol rehash" should get it all out of your image.
-- Dwight
Les Tyrrell wrote:
>
> Stephen Pair:
>
> > To get the demo applet host image, download
> > http://www.advantive.com/squeak/applet.image (it's just under 5 meg...no
> > need for sources or changes files).
>
> This looked interesting to me ( I'm a module fan ) so I thought I'd have
> a look. As it turns out, my browser doesn't have an obvious option
> for downloading a binary directly. So, it expects the above to be
> displayable as a page. Well, I figured I'd give it a try, since
> I was a bit curious about what the image file would look like.
>
> Imagine my surprise to find it filled with C code, apparently for the vm!
> ( could've been worse... it might have been filled with Java code... )
>
> Thinking this was maybe some sort of mistake, although there were some
> fairly squirrelly characters in the image as you would expect, I checked
> one of my own images and found the same thing. Judging from what I saw,
> one gets the impression that a fairly huge chunk of the space in the image
> file is taken up by this C code.
>
> Does anyone have any way of checking this out, and is there a way to
> remove this C code from the image to reduce its size should it turn out
> to be fairly substantial? ( Perhaps a good use for image segmenting? )
>
> les
More information about the Squeak-dev
mailing list
|