AW: [OJB-developers] ObjectCache and IdentityFactory]
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2002-03-25 14:24:25
|
Hi Florian, > Hi Thomas, > <snip ObjectCache based solution for IdentityFactory> > That is my intention, as the ObjectCache itself also has a memory leak > problem that would be fixed by this. For each object in the > HashTable a > SoftReference is created that wraps the object. When the gc > collects the > object, the SoftReference object itself stays in memory. > Oops, are you sure about that? Can't SoftReference objects be collected in general, or is their collection simply deferred to the next run of the garbage collector? cu, Thomas |