[squeak-dev] - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

H. Hirzel hannes.hirzel at gmail.com
Mon Apr 24 16:33:48 UTC 2017


Thanks, found it

    SmalltalkImage vmParameterAt:put:

!

Another question: I do not have the classes like

StarSqueakForestFire (empty reference here http://wiki.squeak.org/squeak/5538)

in my most recent image

Squeak6.0alpha  #17206

I wonder where I can get them?

Or put the question differently: Where are the StarSqueak examples?

--Hannes





On 4/24/17, Chris Cunningham <cunningham.cb at gmail.com> wrote:
> The method itself (#vmParameterAt:put:) is very nicely documented.  The use
> is:
> 5 allocations between GCs (read-write; nil in Cog VMs)
> -cbc
>
> On Mon, Apr 24, 2017 at 8:59 AM, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>
>> What is / was
>>
>>      vmParamterAt: 5 put: xxxx
>>
>> used for?
>>
>> On 4/24/17, Bert Freudenberg <bert at freudenbergs.de> wrote:
>> > We should probably just remove these lines.
>> >
>> > - Bert -
>> >
>> > On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <
>> cunningham.cb at gmail.com>
>> > wrote:
>> >
>> >> Hello,
>> >> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
>> >> mostly up to date trunk image (last update: #17172), and when trying
>> >> to
>> >> open the Objects morph (to pull in objects for Morphic), I get an
>> >> error
>> >> in
>> >> KedemaMorph:
>> >>
>> >> calcTurtlesCount
>> >>
>> >> turtleCount := 0.
>> >> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>> >>
>> >> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max:
>> 4000).
>> >> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max:
>> 8000).
>> >>
>> >> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>> >> failure.
>> >>
>> >> Thanks,
>> >> cbc
>> >>
>> >>
>> >>
>> >>
>> >
>>
>>
>


More information about the Squeak-dev mailing list