classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Memory leak in java.lang.Thread ?


From: Jeroen Frijters
Subject: RE: Memory leak in java.lang.Thread ?
Date: Wed, 8 Dec 2004 18:06:36 +0100

Archie Cobbs wrote:
> Interesting discussion, but really beside the (my) point.
> 
> If "it's broken but it doesn't really mostly matter" then
> it's still broken in my opinion. I don't presume to know
> how or why other programmers may want to do or not do
> some particular sequence of actions that trigger the bug.
> 
> Of course, since the bug in in the API spec there's nothing to
> actually do about this unless we're willing to rewrite the spec.
> 
> Perhaps we should add a comment to the Javadoc for Thread.java
> like "instances of Thread are not garbage collected until either
> they run and terminate or their ThreadGroup and all contained
> Threads are no longer referenced."

Agreed. I'm (almost) always in favor of compatibility with Sun, so
adding a comment would be a good idea.

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]