[squeak-dev] The Inbox: Kernel-dtl.1468.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Thu May 19 09:28:22 UTC 2022

Am 19.05.2022 03:00:19 schrieb commits at source.squeak.org <commits at source.squeak.org>:
A new version of Kernel was added to project The Inbox:

==================== Summary ====================

Name: Kernel-dtl.1468
Author: dtl
Time: 19 May 2022, 9:00:06.652582 pm
UUID: 2a84fd00-259d-40ea-b8f4-a979ce108064
Ancestors: Kernel-dtl.1467

Sista bytecode set was activated in trunk as of Kernel-dtl.1310 (Mar 2020) which called a then-unimplemented primitive to inform the VM to update the image format number. The VM support is present now, and this package postscript updates the image format number, which will now be 68533 (64 bit image) or 7033 (32 bit image).

Also add a missing #primitiveFailed to CompiledCode class>>multipleBytecodeSetsActive

=============== Diff against Kernel-dtl.1467 ===============

Item was changed:
----- Method: CompiledCode class>>multipleBytecodeSetsActive (in category 'method encoding') -----
"Answer if the VM supports multiple bytecode sets, typically the Sista bytecodes
in addition to the traditional V3 bytecode set."

+ self primitiveFailed

Item was changed:
+ (PackageInfo named: 'Kernel') postscript: '"Inform the VM that it should update its image format number for multiple bytecode sets"
+ [CompiledCode byteCodeSetsKnownToTheVM.
+ CompiledCode preferredBytecodeSetEncoderClass = EncoderForSistaV1
+ ifTrue: [CompiledCode multipleBytecodeSetsActive: true]]
+ on: Error do: ["missing VM support, do nothing"]'!
- (PackageInfo named: 'Kernel') postscript: 'Smalltalk removeClassNamed: #ExceptionAboutToReturn.'!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220519/5f7a03ea/attachment.html>

More information about the Squeak-dev mailing list