This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GC Problems...


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.,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]