GC Problems...

Simon Levitt simon.levitt@worldpay.com
Tue Sep 7 19:09:00 GMT 2004


On Tuesday 07 September 2004 19:12, Bryce McKinlay wrote:
> There is a known leak with thread creation on win32. I'm not sure if it
> applies to JvAttachCurrentThread(), but its possible. See
> http://gcc.gnu.org/PR14751
>
Ok. I'll look at that.

> I heard Mohan was testing a fix for this, but I'm not sure what the
> status is now. I suggest attaching the thread just once instead of
> continuously attaching and detaching it.
>
The code given is a simple testcase to show the problem we're seeing, 
unfortunately the actual environment doesn't give us that option (The real 
code is being called from ASP pages).

Taking the attach outside of the loop, just as an experiment, still slowly 
causes memory to leak, about half the speed.

Thanks,

Simon.,



More information about the Java mailing list