cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: Shutdown of an producer
Date Mon, 21 Aug 2000 20:00:00 GMT
"Pier P. Fumagalli" wrote:
> 
> Stefano Mazzocchi wrote:
> > Giacomo Pati wrote:
> > > Stefano Mazzocchi wrote:
> > > > Giacomo Pati wrote:
> > > > >
> > > > > Well, I think this wouldn't be possible because almost none of the
> > > > > sitemap components are thread save today (and most of them would
never
> > > > > be) and thus are created per request (and destroyed right after request
> > > > > processing).
> > > >
> > > > Hmmm, this might cause lots of GC problems down the road... hmmmm, we
> > > > should make them at least recycleable (Avalon now includes my recycle
> > > > classes as well).
> > >
> > > I haven't looked at it at all but might help reducing GC (BTW: the first
> > > C2 implementation had exactly the save behavior)
> >
> > Yes, I know. Pier and I talked breafly about this and decided to fine
> > tune only after development completion of the first phase... now that we
> > are in the second phase (thus the new version 2.0a2), the argument still
> > holds: let's get things done first and optimize later (but let's keep in
> > mind where the hotspots might reside)
> 

Hi Pier :)

Welcome back. 

> There should be hooks where objects can be recycled in the C2 code (as I
> left it months ago)... But I never wrote anything to actually recycle
> those objects.

I know, but code has changed much since your first donation. I don't
know if you have watched the list. The sitemap is know compiled by use
of XSP. The hooks might have been gone :)

> I agree w/ Stefano, leave hooks for optimization (such as pools and
> recyclable objects) but it might be better to have something working
> before writing the actual "optimized" code.

I'll see where to insert FIXMEs to mark those places.

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

Mime
View raw message