Re: weakreferences - my understanding
From: Roedy Green (see_at_mindprod.com.invalid)
Date: 04/22/04
- Next message: nobody important: "Re: "this" compiler error"
- Previous message: Roedy Green: "Re: TreeMap - getting values out in the order they went in?"
- In reply to: Filip Larsen: "Re: weakreferences - my understanding"
- Next in thread: Phillip Lord: "Re: weakreferences - my understanding"
- Reply: Phillip Lord: "Re: weakreferences - my understanding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Apr 2004 08:14:41 GMT
On Thu, 22 Apr 2004 08:32:59 +0200, "Filip Larsen"
<filip.larsen@nospam.dk> wrote or quoted :
>As I understand it, there is no difference in the specified GC behaviour
>for normal (non-referenced) objects and weak references, so weak
>references get cleared in same situtations where normal objects become
>garbage collected. Thisis different from soft references where
>implementations are encouraged to apply memory-cache-like behaviour in
>addition to the requirement of clearing soft references before signaling
>out-of-memory.
oops. I get these two confused often. See
http://mindprod.com/jgloss/soft.html
http://mindprod.com/jgloss/weak.html
I had this sorted out once and wrote little essays.
-- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
- Next message: nobody important: "Re: "this" compiler error"
- Previous message: Roedy Green: "Re: TreeMap - getting values out in the order they went in?"
- In reply to: Filip Larsen: "Re: weakreferences - my understanding"
- Next in thread: Phillip Lord: "Re: weakreferences - my understanding"
- Reply: Phillip Lord: "Re: weakreferences - my understanding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|