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

Igor Stasenko siguctua at gmail.com
Fri May 6 19:47:11 UTC 2011


On 6 May 2011 20:04, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>
> and your point would be?
>
it needs to be fixed.

Because if we can't do:

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

then we cant:

VM getRidOfCompactClassesNotion

:)

> On Fri, May 6, 2011 at 9:38 AM, Igor Stasenko <siguctua at gmail.com> wrote:
>>
>> 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.
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list