on 3/24/00 10:27 AM, Scott C. Tavares <[EMAIL PROTECTED]> wrote: > I always thought the purpose of a Singleton is not so much to stay cached in > memory but to disallow multiple instances of its-self to ever be > instantiated at any point in time. What this buys you is that, say you have > multiple concurrent users all using trying to use the same object, the > Singleton pattern will make sure that they all share the same instance > instead of a new instance for each user. Does this make since or am I way > off here? > > -Scott- You are right on, but it also retains a reference to itself which should cause it to not get GC'd... -jon ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
- JDK 1.1 Garbage Collects all singletons. Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singletons. jon *
- RE: JDK 1.1 Garbage Collects all singleto... Frank Kim
- Re: JDK 1.1 Garbage Collects all sing... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singletons. Scott C. Tavares
- Re: JDK 1.1 Garbage Collects all singleto... jon *
- Re: JDK 1.1 Garbage Collects all sing... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singleto... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singletons. Dieter Wimberger
- Re: JDK 1.1 Garbage Collects all singleto... Kevin A. Burton
- Proposal: MapBuilders jon *
- Re: Proposal: MapBuilders John McNally
- RE: JDK 1.1 Garbage Collects all sing... Frank Kim
- Re: JDK 1.1 Garbage Collects all ... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects... Dieter Wimberger
- Re: JDK 1.1 Garbage Collects all singletons. Santiago Arriaga Noguez
