[Vm-dev] #becomeUncompact not longer works in Cog/Stack VMs

Igor Stasenko siguctua at gmail.com
Fri May 6 16:38:01 UTC 2011


Hi, i tried to do a simple:

Smalltalk compactClassesArray do: [:each | each ifNotNil: [each
becomeUncompact]]

and it crashing the image.
I tried to do this for individual classes.


CompiledMethod, ByteString, BlockClosure, BlockContext ,
 seems working ok.

MethodContext, LargePositiveInteger, LargeNegativeInteger, Float
crashes the image.

i also tried following:

[Smalltalk compactClassesArray do: [:each | each ifNotNil: [each
becomeUncompact]]
] forkAt: Processor highestPriority

but it didn't helped much.

Also, i saved image after couple successfull #becomeUncompact steps..
and now VM cannot open image, most probably
because it fails on 'assumptions check' defined in #checkAssumedCompactClasses

-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list