Re: Multiple EOObjectStoreCoordinators
Ben Trumbull <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <a05200f19ba7c414be579@[17.205.42.108]> |
At 17:30 -0600 2/20/03, Jonathan Rochkind wrote: >This isn't the main topic you all were talking about, but there's my >favorite current headache right there. Weak reference to ECs in the >session so the session can lock and unlock the contexts? Problem. >What if the EC happens to get GCd in between a lock and an unlock? Answer: Not your problem. The framework assumes responsibility for this. Random technology note, you can get a lot of control over memory management with creative subclasses of the java.lang.ref classes. -- -Ben