Taipei, Qtopia on X11, and tracing memory allocations

Taipei, Qtopia on X11, and tracing memory allocations

I moved into the OpenMoko apartment yesterday and right to the backside of the apartment we have some kind of hill and I could not resist and had to walk up to get this city view:
03020055.JPG

raster has been working on a new launcher, window decoration and application navigation for the OpenMoko device, some things are pretty hot about it. It is called illume and can be found here. This launcher is using EFL, actually it is a module for e and the cool thing is edje. With this little file you define objects, their look and their behavior, e.g. if it gets clicked a signal is emitted, you can write mini programs, so on click you can get a transition, like sliding out the menu. edje is pretty powerful.

WebKit related I’m spending my spare time tracking allocations, stale data and memory fragmentation. I use spiegel.de as my test site and monitor heap usage and address space growing (due fragmentation?) and somehow lacked a good application for profiling. raster kindly pointed me to memprof and now I can do this (well memprof has some performance issues with WebKit when getting the profile, but it is performing better than Instruments.app for this job):

memprof

I see most of the memory was allocated by QImageData::create, when clicking on the create method I can see the callers and navigate through the backtraces. It is working with C++ and you can easily add qMalloc,qCalloc,qRealloc,WTF::fastMalloc to the list of functions to ‘ignore’.

Comments are closed.