Thank you Tamas,
On 8/2/06, Tamas Szabo [EMAIL PROTECTED] wrote:
Hi Leon,
I doubt I have more experience :-) but as I know soft references are
collected when the GC decides to do so.
The only thing you can be sure of is that they will be collected _if_ the VM
is running out of memory.
But
Hi,
I have a question regarding a weird behaviour of the garbage
collector, maybe someone here, has more experience with it, and can
answer the question. Otherwise sorry for the OT.
We have a cache for caching 1000.000 user objects along with many
(some hundred thousand) not existing objects
Hi Leon,
I doubt I have more experience :-) but as I know soft references are
collected when the GC decides to do so.
The only thing you can be sure of is that they will be collected _if_ the VM
is running out of memory.
But there is no guarantee that they will not be collected before.
You are
3 matches
Mail list logo