Re: SoftReference operation synchronization detail
- From: "Stanimir Stamenkov" <stamenkov@xxxxxxxxx>
- Date: 31 May 2006 12:20:15 -0700
/Oliver Wong/:
<stamenkov@xxxxxxxxx> wrote in message[...]
news:1149097872.124662.211670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
That sounds most logical, but again: a Reference variable is never
cleared automatically?
First of all, we should clear up some terminology and basic concepts.
Thank you and thank to Robert and Thomas for your answers. I think I
understand the basics. In the above sentence of mine "Reference"
referred to the |Reference| class and "variable" to a reference type of
variable as defined in the Java language specification.
As I've written my confusion came from some unclear tests of mine I've
made previously. I understand the intended usage of SoftReference and
WeakReference but because I'm just starting using them the unclear
result (the unclear way I've got it) appeared pretty much like "magic"
to me so I've made up some "magic" speculations in my mind and that's
why I've finally asked here for clarification.
--
Stanimir
.
- References:
- SoftReference operation synchronization detail
- From: Stanimir Stamenkov
- Re: SoftReference operation synchronization detail
- From: Oliver Wong
- Re: SoftReference operation synchronization detail
- From: stamenkov
- Re: SoftReference operation synchronization detail
- From: Oliver Wong
- SoftReference operation synchronization detail
- Prev by Date: Re: Passing tab char in command line
- Next by Date: Re: 3DES Encryption
- Previous by thread: Re: SoftReference operation synchronization detail
- Next by thread: Re: SoftReference operation synchronization detail
- Index(es):
Relevant Pages
|
|