People, >From: Aaron Smuts [mailto:[EMAIL PROTECTED]] > >> -----Original Message----- >> From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, January 17, 2002 8:17 AM >> To: Jakarta Commons Developers List >> Subject: RE: [simplestore] enhancements (was: [simplestore] inital check >> in) >> >> >> >Maybe I understand you wrong, but look at this: >> >In the Cocoon project we have 2 stores a) MRUMemoryStore for quick access >> >and b) JispFilesystemStore for -well- swapping. Why? Because we >> store/cache >> >generated data (xml -> xslt -> html or fop or ...) in the cache. >> Generating >> >this data is very expensive. >> >> >> >> Ok, but it is not memory management, it is optimization for generation. > >It is reference management.
I think we have definition problem here. I don't wanna re-build the memory management of the JVM. I just wanna provide some _small_, _quick_ and _ease_ to plug components where people can store -well- *things*. Like in the Cocoon project generated HTML or PDF files to spare System resources, or a Application Server which pools Objects, or whatever. Object in and throw Object out. The memory management of the JVM is doing the rest. We have to consider how we can use the JVM memory management and the GC in an most perfect way. Solution a) was the StoreJanitor which derefences Objects and forces the GC after that or solution b) WeakReferences which seem to be a very elegant solution. I'm open for everything! That's the picture I have. What's yours? Gerhard ---------------------------- You can't fall off the floor ---------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
