-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 3/16/2009 4:51 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: MemoryLeak Problem with ThreadWithAttributes >> >> The current version of ThreadWithAttributes doesn't have any >> methods with locals of type Object[] > > These aren't local variables, these are references local to the > object. There are at least two such Object arrays in TWA: notes, and > thData. The notes array is fixed at 16 entries, so it must be > thData. Aah... I was having trouble interpreting the screenshot. Some of the objects had "names" so I assumed "local" meant that it was a local (to the method) whose name was lost at compile time. > The thData array is set by a call to setThreadData(), and can only > be cleared by said call with a null parameter. But there are no such calls, > so once it's set, the array is kept. > > (All of the above is true from 5.5.15 through 6.0.18.) > > I'm still chasing what the array is used for. An interesting and short read: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=80777 Back in 2003, Remy makes a claim that almost sounds like thData is deprecated and unused. I'm interested in what you find. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkm+yigACgkQ9CaO5/Lv0PDpOgCeM9mLWNL0HCDWBFqOlHDk6yUz AD8AnRzEAbHONWOD5rfUnsNHOXDTshGd =Kyf9 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org