Hanging reference and sluggish image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Hanging reference and sluggish image

Alain Rastoul-2
Hi,

I have a sluggish image due to some hanging reference on a big object (a
BTree filled with test data) that I inspected with GTInspector, and
can't get rid of those references.
Opening a PointerExplorer on this object show me lot of various
references from GLMCompositePresentations,
GLMPanes, AnouncementSubscriptions, blocks etc.
Is there a clean way to reset subscriptions , announcers and
GLMPresentations ?

Any help or suggestion will be greatly appreciated,

thanks in advance,

Alain


Reply | Threaded
Open this post in threaded view
|

Re: Hanging reference and sluggish image

stepharo
Just a question where is the BTree implementation?

On 27/9/14 07:50, Alain Rastoul wrote:

> Hi,
>
> I have a sluggish image due to some hanging reference on a big object
> (a BTree filled with test data) that I inspected with GTInspector, and
> can't get rid of those references.
> Opening a PointerExplorer on this object show me lot of various
> references from GLMCompositePresentations,
> GLMPanes, AnouncementSubscriptions, blocks etc.
> Is there a clean way to reset subscriptions , announcers and
> GLMPresentations ?
>
> Any help or suggestion will be greatly appreciated,
>
> thanks in advance,
>
> Alain
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Hanging reference and sluggish image

Alain Rastoul-2
Le 27/09/2014 15:33, stepharo a écrit :

> Just a question where is the BTree implementation?
>
> On 27/9/14 07:50, Alain Rastoul wrote:
>> Hi,
>>
>> I have a sluggish image due to some hanging reference on a big object
>> (a BTree filled with test data) that I inspected with GTInspector, and
>> can't get rid of those references.
>> Opening a PointerExplorer on this object show me lot of various
>> references from GLMCompositePresentations,
>> GLMPanes, AnouncementSubscriptions, blocks etc.
>> Is there a clean way to reset subscriptions , announcers and
>> GLMPresentations ?
>>
>> Any help or suggestion will be greatly appreciated,
>>
>> thanks in advance,
>>
>> Alain
>>
>
It is the Avi Bryant BTree implementation modified by Ramon Leon found
on squeaksource
MCSqueaksourceRepository
        location: 'http://www.squeaksource.com/BTree'
        user: ''
        password: ''
I'm just testing it, don't know actually if it's good or not, but it
seems nice at first glance.

About my sluggish image, I emptied the btree and it's ok now,
I can live with it until I reload a new image.

I hunted this reference for a moment, and gave up right now.
I tried to make a reference counter to help finding roots of the
references but got a lot of problems... I will look more deeply at
PointerExporer and Fuel when I'll have time.
The good thing is that I (think I) learned a bit about BlockContext,
MethodContexts and so on ...
:)