Article View: borland.public.jbuilder.java.language
Article #18352Re: Strategy for Object Reusing
From: Tad Frysinger
Date: Mon, 13 Jul 1998 00:00
Date: Mon, 13 Jul 1998 00:00
18 lines
1265 bytes
1265 bytes
In article <6ob8na$t554@forums.borland.com>, gmantha@home.com says... > Hello Tad, > > My use of object pooling lies in 2 main areas. > > 1. Server's client connection threads > 2. Just threads of all kinds > > I found it really improved performance for code that must constantly create > threads to instead check one out at the pool, then set properties to make > the threaded object useful for the given context. Threaded object creation > is very expensive, even more so than just plain object creation. Yes, I agree. I am doing this also and I've seen performance improvements. r.e. coupling: we also agree.
Technical Details
Message-ID:
<MPG.10139f3bee473a4e9898a2@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<359CBFDC.DE310722@Bigfoot.com> <6njkh0$9sj10@forums.borland.com> <35A03942.7B8BBB35@Bigfoot.com> <6nv0og$hto16@forums.borland.com> <MPG.100d1986f1e1b62d989895@forums.borland.com> <6ob8na$t554@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,463db4f771a2408f X-Google-Attributes: gidf74b3,public From: tfrysinger@earthlink.net (Tad Frysinger) Subject: Re: Strategy for Object Reusing Date: 1998/07/13 Message-ID: <MPG.10139f3bee473a4e9898a2@forums.borland.com> X-Deja-AN: 370961913 References: <359CBFDC.DE310722@Bigfoot.com> <6njkh0$9sj10@forums.borland.com> <35A03942.7B8BBB35@Bigfoot.com> <6nv0og$hto16@forums.borland.com> <MPG.100d1986f1e1b62d989895@forums.borland.com> <6ob8na$t554@forums.borland.com> Organization: FreeZone Enterprises Newsgroups: borland.public.jbuilder.java.language