Hi Aliaksei,
In VW, scavenges are done automatically by the VM, but all
heavier-weight GC is controlled by the image, through a MemoryPolicy
object. In the GemStone client for VW we provide a memory policy that
discourages GC during times when our mapping dictionaries are strong,
deferring
Maybe it's undecidable.
Now it happens when a memory space is full, and I
think that memory spaces aren't dynamically configurable.
Davide
On 10/09/2020 10:41, Aliaksei Syrel wrote:
Hi
I wish there was a way to control *when* full GC is allowed to happen.
For example, I would prefer GC
Hi
I wish there was a way to control *when* full GC is allowed to happen. For
example, I would prefer GC to occur while the UI rendering loop is paused
and not in the middle of the frame resulting in sometimes sluggish
animations in the case of large images.
Thank you
On Wed, 9 Sep 2020 at
If Pharo's gc algorithm is concurrent => maybe yes,
otherwise surely no : if I'm not wrong gc starts inside VM
when checking allocation spaces during a basicNew or alike.
And the VM seems stuck, at that moment.
One can try to create an ephemeron and check it every 100-500 ms,
refreshing it if
On 9/9/20 8:43 PM, Esteban Maringolo wrote:
On Wed, Sep 9, 2020 at 11:58 PM Eliot Miranda wrote:
In VisualWorks, for example, a WeakArray is primed with an Object instance, and
this gets collected every scavenge.
So the WeakArray is notified. From this VW builds a notification system.
I
On Wed, Sep 9, 2020 at 9:49 PM Esteban Maringolo
wrote:
> On Wed, Sep 9, 2020 at 11:58 PM Eliot Miranda
> wrote:
>
> > In VisualWorks, for example, a WeakArray is primed with an Object
> instance, and this gets collected every scavenge.
> > So the WeakArray is notified. From this VW builds a
On Wed, Sep 9, 2020 at 11:58 PM Eliot Miranda wrote:
> In VisualWorks, for example, a WeakArray is primed with an Object instance,
> and this gets collected every scavenge.
> So the WeakArray is notified. From this VW builds a notification system.
I guess this is how VisualWorks changes its
Hi
I would to be able to see when an incremental GC is happening.
is there a way to know when a GC is happening?
S.
Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50