[Cuis-dev] Desktop background, Morphic and SVG examples, and other tweaks

Andres Valloud ten at smallinteger.com
Fri Sep 17 22:43:03 PDT 2021


Wait, do you mean to imply that the GC can't keep up with garbage 
creation?  Could it be that such resizing is being done in a way that 
disables whatever GC controlling code in the image?  If the bitmaps are 
actually garbage, any crash like that is hard bug irrespective of 
whether it's the fault of the VM or the image.

I also mean to imply any such bug where the system fails to cope with 
copious garbage and crashes, and especially when the failure is not 
graceful, is unacceptable.

If that crash could be reproduced by simply creating e.g. garbage byte 
arrays like crazy, then that should be given to the relevant VM / kernel 
image developer.

On 9/17/21 10:32 AM, Juan Vuletich via Cuis-dev wrote:
> I've been working hard on improving stability and reducing VM crashes, 
> especially when using VectorGraphics. This meant changing the sequence 
> in which the Display and other very big aux arrays are created. Today I 
> found that the Cuis Morphic background is likely a source of trouble. On 
> a big Display (4k), each time the main Cuis window is resized, we needed 
> to create instances of Bitmap for 56Mb, 48 of them to be released 
> immediately. And this could happen several times in sequence, as the 
> user resizes Cuis to suit their taste. I've seen VM crashes during 
> Garbage Collection while doing this.


More information about the Cuis-dev mailing list