Thread group disposal question

Martin Buchholz martinrb at
Thu Aug 21 15:22:04 PDT 2008

Hi Artem,

Please read
The deprecated Thread methods are inherently deadlock-prone.

I don't know how AWT is supposed to work, but other folks
have had the same kind of threading reliability problems.
Perhaps someone from awt-dev would know better - I would try there.


On Thu, Aug 21, 2008 at 6:26 AM, Artem Ananiev <Artem.Ananiev at> wrote:
> Hi, hotspot team,
> (I'm not sure if hotspot-runtime-dev is a right alias for the questions like
> this, but I haven't found anything better)
> my question is about the right way to destroy a Thread or ThreadGroup. In a
> few words, some application periodically creates and destroys instances of
> sun.awt.AppContext (which roughly corresponds to a ThreadGroup instance).
> After a small number of iterations application just hangs - the stack trace
> is attached.

More information about the hotspot-runtime-dev mailing list