You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nikolay Kuznetsov (JIRA)" <ji...@apache.org> on 2006/09/21 15:38:22 UTC
[jira] Created: (HARMONY-1528) [DRLVM]jvmtiStopThread corner cases
[DRLVM]jvmtiStopThread corner cases
-----------------------------------
Key: HARMONY-1528
URL: http://issues.apache.org/jira/browse/HARMONY-1528
Project: Harmony
Issue Type: Bug
Components: DRLVM
Reporter: Nikolay Kuznetsov
jvmtiStopThread as well as Thread.stop() method does not take
into account possibility to stop suspended or waiting threads,
thus the following issues may occur:
- waiting or suspended thread will not throw exceptions
- suspended thread may start processing exception but stop
at nearest safe_point
- suspend will not suspend waiting thread but will allow
to process notify and acquire monitor while remain suspended
--
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-1528) [DRLVM]jvmtiStopThread corner
cases
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1528?page=comments#action_12437065 ]
Geir Magnusson Jr commented on HARMONY-1528:
--------------------------------------------
You are a gentleman and scholar and there are very few of us left :) Applying
> [DRLVM]jvmtiStopThread corner cases
> -----------------------------------
>
> Key: HARMONY-1528
> URL: http://issues.apache.org/jira/browse/HARMONY-1528
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Nikolay Kuznetsov
> Attachments: stop_thread.patch, stop_thread_updated.patch
>
>
> jvmtiStopThread as well as Thread.stop() method does not take
> into account possibility to stop suspended or waiting threads,
> thus the following issues may occur:
> - waiting or suspended thread will not throw exceptions
> - suspended thread may start processing exception but stop
> at nearest safe_point
> - suspend will not suspend waiting thread but will allow
> to process notify and acquire monitor while remain suspended
--
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-1528) [DRLVM]jvmtiStopThread corner cases
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1528?page=all ]
Geir Magnusson Jr resolved HARMONY-1528.
----------------------------------------
Resolution: Fixed
r449218
ubuntu 6, smoke and c-unit
> [DRLVM]jvmtiStopThread corner cases
> -----------------------------------
>
> Key: HARMONY-1528
> URL: http://issues.apache.org/jira/browse/HARMONY-1528
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Nikolay Kuznetsov
> Attachments: stop_thread.patch, stop_thread_updated.patch
>
>
> jvmtiStopThread as well as Thread.stop() method does not take
> into account possibility to stop suspended or waiting threads,
> thus the following issues may occur:
> - waiting or suspended thread will not throw exceptions
> - suspended thread may start processing exception but stop
> at nearest safe_point
> - suspend will not suspend waiting thread but will allow
> to process notify and acquire monitor while remain suspended
--
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-1528) [DRLVM]jvmtiStopThread corner
cases
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1528?page=comments#action_12437006 ]
Geir Magnusson Jr commented on HARMONY-1528:
--------------------------------------------
Doesn't apply cleanly to r449091. Can you fix and re-submit? :)
> [DRLVM]jvmtiStopThread corner cases
> -----------------------------------
>
> Key: HARMONY-1528
> URL: http://issues.apache.org/jira/browse/HARMONY-1528
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Nikolay Kuznetsov
> Attachments: stop_thread.patch
>
>
> jvmtiStopThread as well as Thread.stop() method does not take
> into account possibility to stop suspended or waiting threads,
> thus the following issues may occur:
> - waiting or suspended thread will not throw exceptions
> - suspended thread may start processing exception but stop
> at nearest safe_point
> - suspend will not suspend waiting thread but will allow
> to process notify and acquire monitor while remain suspended
--
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-1528) [DRLVM]jvmtiStopThread corner cases
Posted by "Nikolay Kuznetsov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1528?page=all ]
Nikolay Kuznetsov updated HARMONY-1528:
---------------------------------------
Attachment: stop_thread.patch
Attached comment contains fix for this issue as well
as minor correction such as:
- GetAllThread should return newly created local references
- fixed tipo in jvmtiMonitorWaited handled invovation
(jvmtiMonitorWait instead of jvmtiMonitorWaited)
- Contended monitor events should be generated around wait function
> [DRLVM]jvmtiStopThread corner cases
> -----------------------------------
>
> Key: HARMONY-1528
> URL: http://issues.apache.org/jira/browse/HARMONY-1528
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Nikolay Kuznetsov
> Attachments: stop_thread.patch
>
>
> jvmtiStopThread as well as Thread.stop() method does not take
> into account possibility to stop suspended or waiting threads,
> thus the following issues may occur:
> - waiting or suspended thread will not throw exceptions
> - suspended thread may start processing exception but stop
> at nearest safe_point
> - suspend will not suspend waiting thread but will allow
> to process notify and acquire monitor while remain suspended
--
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-1528) [DRLVM]jvmtiStopThread corner cases
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1528?page=all ]
Geir Magnusson Jr closed HARMONY-1528.
--------------------------------------
> [DRLVM]jvmtiStopThread corner cases
> -----------------------------------
>
> Key: HARMONY-1528
> URL: http://issues.apache.org/jira/browse/HARMONY-1528
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Nikolay Kuznetsov
> Attachments: stop_thread.patch, stop_thread_updated.patch
>
>
> jvmtiStopThread as well as Thread.stop() method does not take
> into account possibility to stop suspended or waiting threads,
> thus the following issues may occur:
> - waiting or suspended thread will not throw exceptions
> - suspended thread may start processing exception but stop
> at nearest safe_point
> - suspend will not suspend waiting thread but will allow
> to process notify and acquire monitor while remain suspended
--
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-1528) [DRLVM]jvmtiStopThread corner cases
Posted by "Nikolay Kuznetsov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1528?page=all ]
Nikolay Kuznetsov updated HARMONY-1528:
---------------------------------------
Attachment: stop_thread_updated.patch
Sure, no problem.
> [DRLVM]jvmtiStopThread corner cases
> -----------------------------------
>
> Key: HARMONY-1528
> URL: http://issues.apache.org/jira/browse/HARMONY-1528
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Nikolay Kuznetsov
> Attachments: stop_thread.patch, stop_thread_updated.patch
>
>
> jvmtiStopThread as well as Thread.stop() method does not take
> into account possibility to stop suspended or waiting threads,
> thus the following issues may occur:
> - waiting or suspended thread will not throw exceptions
> - suspended thread may start processing exception but stop
> at nearest safe_point
> - suspend will not suspend waiting thread but will allow
> to process notify and acquire monitor while remain suspended
--
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