VM 4.4 build niceness (was: Re: [Vm-dev] [squeak-dev] VM 4.4 build nastinesses - part 1 of probably many)

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Fri Feb 15 05:45:07 UTC 2013


On Thu, Feb 14, 2013 at 9:30 PM, tim Rowledge <tim at rowledge.org> wrote:
>
>
> On 14-02-2013, at 10:36 AM, Yoshiki Ohshima <Yoshiki.Ohshima at acm.org> wrote:
>
>>
>> One issue we had was that the BitBlt code in the Scratch image was
>> using numbered primitives, but the newer VMs don't support them.  If
>> you edit them in the image to use the named primitives, it *might* do
>> better.
>
> There were near 100 obsolete numbered prim calls needing fixing. Once done, it seems to run quite nicely on a 4.4 VM. A bit slowly on a PI but we are talking about a machine with  ~5% of the memory bandwidth of a big desktop machine.

Ah.  I was not aware that there were that many.

> I have a PacMan game running  right now at a  whopping 2fps :-) I can sort of keep up with pacman at that speed. It does appear to cause some memory leakage though, which is interesting. No idea where or why as yet. Memory leaks are much more exciting on a machine without virtual memory...

It's running on X, right?  IIRC (sorry for doing this only from
memory), there are some malloc()/free() going in the event handling
logic (the part it receives X events.  (Another speculation, which is
probably wrong...)

-- 
-- Yoshiki


More information about the Vm-dev mailing list