harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1528) [DRLVM]jvmtiStopThread corner cases
Date Thu, 21 Sep 2006 13:47:23 GMT
     [ 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

        

Mime
View raw message