> -----Original Message-----
> From: Marcus Crafter [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 24, 2001 11:01 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [C2 diff] mru store gc logging
> 
> 
> Hi Vadim,
> 
> On Thu, 23 Aug 2001, Vadim Gritsenko wrote:
> 
> > BTW, what do you think about while() loop just below debug() statement?
> > It looks to me then when this situation arises there are chances that storage 
> > whould be empty before GC would be kicked again...
> 
>       Seems to me like the while loop should be done before garbage
>       collection, as the loop just frees up memory, which will need to be
>       gc'd anyway. (What do you think Gerhard ?)

My point here is that I am afraid that when loop is executed, it ALWAYS frees ALL 
objects from
the cache, because freeMemory() is not changing as no GC is being done during loop 
execution.

I might be not right here - I'm speaking theoretically - need to proof this point by 
experimenting.
Additional debug() after loop with cache.size() printout would help.

Vadim

> 
>       Cheers,
> 
>       Marcus
> 
> -- 
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   Open Software Associates GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'     Email : [EMAIL PROTECTED]
>           &&&&.        Business Hours : +49 69 9757 200
>     &&&&&&&:
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to