You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Semukhina (JIRA)" <ji...@apache.org> on 2006/09/29 15:07:50 UTC
[jira] Created: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
ThreadGroup.stop() does not stop suspended group.
-------------------------------------------------
Key: HARMONY-1648
URL: http://issues.apache.org/jira/browse/HARMONY-1648
Project: Harmony
Issue Type: Bug
Components: DRLVM
Reporter: Elena Semukhina
If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1648?page=all ]
Geir Magnusson Jr updated HARMONY-1648:
---------------------------------------
Patch Info: [Patch Available]
> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>
> Key: HARMONY-1648
> URL: http://issues.apache.org/jira/browse/HARMONY-1648
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Attachments: stop.patch, ThreadSuspend.java
>
>
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1648?page=all ]
Geir Magnusson Jr closed HARMONY-1648.
--------------------------------------
> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>
> Key: HARMONY-1648
> URL: http://issues.apache.org/jira/browse/HARMONY-1648
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Attachments: stop.patch, ThreadSuspend.java
>
>
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1648?page=all ]
Geir Magnusson Jr resolved HARMONY-1648.
----------------------------------------
Resolution: Fixed
r471005
Ubuntu 6 - smoke, c-unit, ~kernel, test case
> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>
> Key: HARMONY-1648
> URL: http://issues.apache.org/jira/browse/HARMONY-1648
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Attachments: stop.patch, ThreadSuspend.java
>
>
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
Posted by "Nikolay Kuznetsov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1648?page=all ]
Nikolay Kuznetsov updated HARMONY-1648:
---------------------------------------
Attachment: stop.patch
Attached is a cumulative patch for recent Thread.stop issues and includes:
1) incorrect assertions removal (incorrect hysem_post error handling)
2) additional exception processing(interpreter exception processing)
3) synchronized start (start was made synchronous, i.e. when method thread.start exits it's guaranteed that both threads are running)
Last change is probably should have been made in separate issue(according to j.l.Thread.start specification this method should be synchronous), but since this problem has implication on stop I also included this fix to the patch.
Since Thread.stop functionality is kind of risky I'd appreciate if reporters make some preliminary testing on this patch.
> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>
> Key: HARMONY-1648
> URL: http://issues.apache.org/jira/browse/HARMONY-1648
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Attachments: stop.patch, ThreadSuspend.java
>
>
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1648?page=all ]
Geir Magnusson Jr reassigned HARMONY-1648:
------------------------------------------
Assignee: Geir Magnusson Jr
> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>
> Key: HARMONY-1648
> URL: http://issues.apache.org/jira/browse/HARMONY-1648
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Assigned To: Geir Magnusson Jr
> Attachments: stop.patch, ThreadSuspend.java
>
>
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
Posted by "Anonymous (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1648?page=all ]
Attachment: ThreadSuspend.java
> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>
> Key: HARMONY-1648
> URL: http://issues.apache.org/jira/browse/HARMONY-1648
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Attachments: ThreadSuspend.java
>
>
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-1648) ThreadGroup.stop() does not stop
suspended group.
Posted by "Elena Semukhina (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1648?page=comments#action_12442827 ]
Elena Semukhina commented on HARMONY-1648:
------------------------------------------
I attached the test which reproduces the issue. ThreadGroup.stop() does not stop a suspended group with waiting threads in it.
HARMONY-1625 fixes classlib luni ThreadGroupTest.test_suspend() so that it does correct cleanup. Then that test will fail due to this issue.
> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>
> Key: HARMONY-1648
> URL: http://issues.apache.org/jira/browse/HARMONY-1648
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Elena Semukhina
> Attachments: ThreadSuspend.java
>
>
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does not stop this group.
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira