public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/16203] New: need to kill awt helper threads on gui app exit
@ 2004-06-25 18:40 chris dot pickett at mail dot mcgill dot ca
  2004-06-25 18:42 ` [Bug AWT/16203] " chris dot pickett at mail dot mcgill dot ca
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: chris dot pickett at mail dot mcgill dot ca @ 2004-06-25 18:40 UTC (permalink / raw)
  To: gcc-bugs

Sun gives three conditions that lets awt terminate its helper threads, as of
1.4, namely that:

   1) There are no displayable AWT or Swing components.
   2) There are no native events in the native event queue.
   3) There are no AWT events in java EventQueues.

http://java.sun.com/j2se/1.4.2/docs/api/java/awt/doc-files/AWTThreadIssues.html

It seems like it would be a good idea to get something like that into 
Classpath.  Sun's 1.4.2 VM has it's own "Suspend Checker Thread" (visible in
"ctrl-\"-generated thread/stack dumps) which appears to be some kind of reaper.

The test case attached below hangs on SableVM, which uses a recent Classpath. 
Apparently it does not hang on gij, but that may be for another reason.

-- 
           Summary: need to kill awt helper threads on gui app exit
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: chris dot pickett at mail dot mcgill dot ca
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug AWT/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
@ 2004-06-25 18:42 ` chris dot pickett at mail dot mcgill dot ca
  2004-06-26  0:09 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: chris dot pickett at mail dot mcgill dot ca @ 2004-06-25 18:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From chris dot pickett at mail dot mcgill dot ca  2004-06-25 18:40 -------
Created an attachment (id=6630)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6630&action=view)
creates an awt Frame f and calls f.dispose()


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug AWT/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
  2004-06-25 18:42 ` [Bug AWT/16203] " chris dot pickett at mail dot mcgill dot ca
@ 2004-06-26  0:09 ` pinskia at gcc dot gnu dot org
  2004-06-27 21:41 ` fitzsim at redhat dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-26  0:09 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug AWT/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
  2004-06-25 18:42 ` [Bug AWT/16203] " chris dot pickett at mail dot mcgill dot ca
  2004-06-26  0:09 ` pinskia at gcc dot gnu dot org
@ 2004-06-27 21:41 ` fitzsim at redhat dot com
  2005-01-04 20:20 ` fitzsim at redhat dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: fitzsim at redhat dot com @ 2004-06-27 21:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug AWT/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
                   ` (2 preceding siblings ...)
  2004-06-27 21:41 ` fitzsim at redhat dot com
@ 2005-01-04 20:20 ` fitzsim at redhat dot com
  2005-01-12 14:04 ` chris dot pickett at mail dot mcgill dot ca
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: fitzsim at redhat dot com @ 2005-01-04 20:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fitzsim at redhat dot com  2005-01-04 20:20 -------
Fixed on java-gui-branch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug AWT/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
                   ` (3 preceding siblings ...)
  2005-01-04 20:20 ` fitzsim at redhat dot com
@ 2005-01-12 14:04 ` chris dot pickett at mail dot mcgill dot ca
  2005-04-20  1:59 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: chris dot pickett at mail dot mcgill dot ca @ 2005-01-12 14:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From chris dot pickett at mail dot mcgill dot ca  2005-01-12 14:03 -------
Thank-you kindly.  Can you summarize your solution?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug AWT/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
                   ` (4 preceding siblings ...)
  2005-01-12 14:04 ` chris dot pickett at mail dot mcgill dot ca
@ 2005-04-20  1:59 ` pinskia at gcc dot gnu dot org
  2005-09-14 13:52 ` [Bug awt/16203] " fitzsim at redhat dot com
  2005-09-14 13:54 ` fitzsim at redhat dot com
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-20  1:59 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug awt/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
                   ` (5 preceding siblings ...)
  2005-04-20  1:59 ` pinskia at gcc dot gnu dot org
@ 2005-09-14 13:52 ` fitzsim at redhat dot com
  2005-09-14 13:54 ` fitzsim at redhat dot com
  7 siblings, 0 replies; 11+ messages in thread
From: fitzsim at redhat dot com @ 2005-09-14 13:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fitzsim at redhat dot com  2005-09-14 13:52 -------
This broke when we moved back to the two-threaded event loop model.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
   Target Milestone|4.0.0                       |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug awt/16203] need to kill awt helper threads on gui app exit
  2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
                   ` (6 preceding siblings ...)
  2005-09-14 13:52 ` [Bug awt/16203] " fitzsim at redhat dot com
@ 2005-09-14 13:54 ` fitzsim at redhat dot com
  7 siblings, 0 replies; 11+ messages in thread
From: fitzsim at redhat dot com @ 2005-09-14 13:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fitzsim at redhat dot com  2005-09-14 13:53 -------
*** Bug 23877 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roman at kennke dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug awt/16203] need to kill awt helper threads on gui app exit
       [not found] <bug-16203-8809@http.gcc.gnu.org/bugzilla/>
  2008-02-17 18:19 ` gnu_andrew at member dot fsf dot org
@ 2008-02-18  0:32 ` chris dot pickett at mail dot mcgill dot ca
  1 sibling, 0 replies; 11+ messages in thread
From: chris dot pickett at mail dot mcgill dot ca @ 2008-02-18  0:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from chris dot pickett at mail dot mcgill dot ca  2008-02-18 00:31 -------
If I ever update SableVM's Classpath and it's still broken I'll reopen it.

However, maybe you should check that the duplicate is also fine:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23877


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug awt/16203] need to kill awt helper threads on gui app exit
       [not found] <bug-16203-8809@http.gcc.gnu.org/bugzilla/>
@ 2008-02-17 18:19 ` gnu_andrew at member dot fsf dot org
  2008-02-18  0:32 ` chris dot pickett at mail dot mcgill dot ca
  1 sibling, 0 replies; 11+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2008-02-17 18:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from gnu_andrew at member dot fsf dot org  2008-02-17 18:18 -------
This does not hang on either current CVS HEAD with cacao or jamvm, or on gij
(version 4.3.0 20080213).  Can we close this bug?


-- 

gnu_andrew at member dot fsf dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16203


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-02-18  0:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-25 18:40 [Bug AWT/16203] New: need to kill awt helper threads on gui app exit chris dot pickett at mail dot mcgill dot ca
2004-06-25 18:42 ` [Bug AWT/16203] " chris dot pickett at mail dot mcgill dot ca
2004-06-26  0:09 ` pinskia at gcc dot gnu dot org
2004-06-27 21:41 ` fitzsim at redhat dot com
2005-01-04 20:20 ` fitzsim at redhat dot com
2005-01-12 14:04 ` chris dot pickett at mail dot mcgill dot ca
2005-04-20  1:59 ` pinskia at gcc dot gnu dot org
2005-09-14 13:52 ` [Bug awt/16203] " fitzsim at redhat dot com
2005-09-14 13:54 ` fitzsim at redhat dot com
     [not found] <bug-16203-8809@http.gcc.gnu.org/bugzilla/>
2008-02-17 18:19 ` gnu_andrew at member dot fsf dot org
2008-02-18  0:32 ` chris dot pickett at mail dot mcgill dot ca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).