Re: SoftReference operation synchronization detail



/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

.



Relevant Pages

  • Re: Is FreeBSD a Novelty Operating System?
    ... the windows system cannot be used for much of the new windows ... Sentence is unclear, but perhaps a reference to the upgrade to Xorg 7.2. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Why cant switch be used for objects
    ... Because the semantics of comparison are unclear (do you use equality ... by reference, or use the Equals method, or do you allow IComparers, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Camfferman Familyname
    ... to waste a few days having received the wrong certificate and having to ... recheck anyway. ... If there is anything wrong with an application (other than an unclear ... There's also the reference checking points that can be used. ...
    (soc.genealogy.britain)
  • Re: Passing an object to a module
    ... I would like to pass the CGI object to subroutines in my ... That variable is a reference to a hash. ... By which I mean that is unclear to what you are referring by the ...
    (comp.lang.perl.misc)