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

Marcel Taeumel marcel.taeumel at hpi.de
Fri Apr 8 15:01:44 UTC 2022


Done via Kernel-mt.1455

Best,
Marcel
Am 08.04.2022 16:21:50 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
> Can we rename this to be CompiledCode class>>useSistaBytecodeSet: ?

+1
Am 08.04.2022 16:19:48 schrieb Eliot Miranda <eliot.miranda at gmail.com>:

Hi Dave,

> On Apr 7, 2022, at 4:42 PM, David T. Lewis wrote:
>
> 
>> 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:

Can we rename this to be CompiledCode class>>useSistaBytecodeSet: ? Sista refers to the entire system, adaptive optimizer and all. Currently we’re using only the non-optimization part of the bytecode set.


_,,,^..^,,,_ (phone)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220408/962a5c5f/attachment.html>


More information about the Vm-dev mailing list