[Vm-dev] VM Maker: VMMaker.oscog-dtl.3123.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Fri Apr 8 13:17:45 UTC 2022


Ah! save-and-quit will do the trick. Nice. Let me merge VMMaker.oscog-dtl.3123 and see whether I can make this work.

Best,
Marcel
Am 08.04.2022 01:43:00 schrieb David T. Lewis <lewis at mail.msen.com>:

On Thu, Apr 07, 2022 at 04:22:51AM -0700, Eliot Miranda wrote:
>
> Hi Marcel,
>
>
> > On Apr 7, 2022, at 4:17 AM, Marcel Taeumel wrote:
> >
> > ???
> > Hi Dave, hi Eliot, hi all --
> >
> > I think we can still merge this into the next VM release.
> >
> > For Squeak 6.0, I only then have to figure out how to produce that new (base) image for the bundles. :-) Probably something in the area of SystemTracer... or I just hack the image header directly? xD
>
> I don???t think you need to anything to the image. This is a vm property, ie does the vm support multiple bytecode sets or not? One should be able to run an image that uses only one bytecode set on a vm that supports two.
>

Right. On the image side the only thing to be aware of is this:

CompiledCode class>>multipleBytecodeSetsActive: aBoolean
"Inform the VM when multiple bytecode sets, typically the Sista bytecodes
in addition to the traditional V3 bytecode set, are now in use in this image.
The VM may use this information to update the image format number when
saving the image to the file system."



So for the Squeak 6.0 release, if we are confident that most users
of the new release will be using the release VM, and if we are
releasing with Sista activated, then we just need to make sure that
this method is called in the update stream and/or ReleaseBuilder.

See also the convenience method CompiledCode class>>useSista:

Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220408/d4d569a5/attachment.html>


More information about the Vm-dev mailing list