It's very likely that the garbage collector has gone through several
turns of the crank trying to get these correct.  The weak reference
stuff is very hard to get right the first time, from a GC perspective.

On Jul 22, 6:25 pm, fadden <[email protected]> wrote:
> On Jul 22, 12:57 pm, Kostya Vasilyev <[email protected]> wrote:
>
> > I remember seeing somewhere that Dalvik didn't initially support Soft /
> > Weak references, and this was implemented at some point.
>
> > Can someone clarify: starting with what version of Dalvik / Android
> > these are available?
>
> Soft, weak, and phantom references have always been available in
> Dalvik.
>
> JNI "weak global" references are a recent addition, but very few
> people have reason to use those.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to