You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Peter Novodvorsky (JIRA)" <ji...@apache.org> on 2007/02/08 13:12:05 UTC
[jira] Created: (HARMONY-3139) interrupt is not caught in
condvar_wait_impl
interrupt is not caught in condvar_wait_impl
--------------------------------------------
Key: HARMONY-3139
URL: https://issues.apache.org/jira/browse/HARMONY-3139
Project: Harmony
Issue Type: Bug
Components: Non-bug differences from RI
Reporter: Peter Novodvorsky
Priority: Minor
When thread is being interrupted during after entering condvar_wait_impl and checking INTERRUPTED flag and before waiting on condition InterruptedException is not thrown. Patch from HARMONY-1789 could solve this issue by introducing special interrupter thread that would wait for condition to be waited on and corresponding mutex unlocked and interrupt the thread only after that. Patch from HARMONY-2217 removed interrupter thread.
Salikh wrote test which shows the bug and it shows that same bug appears in Sun's JDK 1.5.0_05.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3139) [drlvm] [thread] interrupt is not
caught in condvar_wait_impl
Posted by "Peter Novodvorsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Novodvorsky updated HARMONY-3139:
---------------------------------------
Component/s: DRLVM
Summary: [drlvm] [thread] interrupt is not caught in condvar_wait_impl (was: interrupt is not caught in condvar_wait_impl)
> [drlvm] [thread] interrupt is not caught in condvar_wait_impl
> -------------------------------------------------------------
>
> Key: HARMONY-3139
> URL: https://issues.apache.org/jira/browse/HARMONY-3139
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM, Non-bug differences from RI
> Reporter: Peter Novodvorsky
> Priority: Minor
> Attachments: CatchInterrupt.java
>
>
> When thread is being interrupted during after entering condvar_wait_impl and checking INTERRUPTED flag and before waiting on condition InterruptedException is not thrown. Patch from HARMONY-1789 could solve this issue by introducing special interrupter thread that would wait for condition to be waited on and corresponding mutex unlocked and interrupt the thread only after that. Patch from HARMONY-2217 removed interrupter thread.
> Salikh wrote test which shows the bug and it shows that same bug appears in Sun's JDK 1.5.0_05.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3139) [drlvm] [thread] interrupt is not
caught in condvar_wait_impl
Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
weldon washburn closed HARMONY-3139.
------------------------------------
Resolution: Duplicate
duplicate of 3256
> [drlvm] [thread] interrupt is not caught in condvar_wait_impl
> -------------------------------------------------------------
>
> Key: HARMONY-3139
> URL: https://issues.apache.org/jira/browse/HARMONY-3139
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM, Non-bug differences from RI
> Reporter: Peter Novodvorsky
> Assigned To: weldon washburn
> Priority: Minor
> Attachments: CatchInterrupt.java
>
>
> When thread is being interrupted during after entering condvar_wait_impl and checking INTERRUPTED flag and before waiting on condition InterruptedException is not thrown. Patch from HARMONY-1789 could solve this issue by introducing special interrupter thread that would wait for condition to be waited on and corresponding mutex unlocked and interrupt the thread only after that. Patch from HARMONY-2217 removed interrupter thread.
> Salikh wrote test which shows the bug and it shows that same bug appears in Sun's JDK 1.5.0_05.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3139) [drlvm] [thread] interrupt is not
caught in condvar_wait_impl
Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
weldon washburn reassigned HARMONY-3139:
----------------------------------------
Assignee: weldon washburn
> [drlvm] [thread] interrupt is not caught in condvar_wait_impl
> -------------------------------------------------------------
>
> Key: HARMONY-3139
> URL: https://issues.apache.org/jira/browse/HARMONY-3139
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM, Non-bug differences from RI
> Reporter: Peter Novodvorsky
> Assigned To: weldon washburn
> Priority: Minor
> Attachments: CatchInterrupt.java
>
>
> When thread is being interrupted during after entering condvar_wait_impl and checking INTERRUPTED flag and before waiting on condition InterruptedException is not thrown. Patch from HARMONY-1789 could solve this issue by introducing special interrupter thread that would wait for condition to be waited on and corresponding mutex unlocked and interrupt the thread only after that. Patch from HARMONY-2217 removed interrupter thread.
> Salikh wrote test which shows the bug and it shows that same bug appears in Sun's JDK 1.5.0_05.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3139) interrupt is not caught in
condvar_wait_impl
Posted by "Peter Novodvorsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Novodvorsky updated HARMONY-3139:
---------------------------------------
Attachment: CatchInterrupt.java
Test showing the bug
> interrupt is not caught in condvar_wait_impl
> --------------------------------------------
>
> Key: HARMONY-3139
> URL: https://issues.apache.org/jira/browse/HARMONY-3139
> Project: Harmony
> Issue Type: Bug
> Components: Non-bug differences from RI
> Reporter: Peter Novodvorsky
> Priority: Minor
> Attachments: CatchInterrupt.java
>
>
> When thread is being interrupted during after entering condvar_wait_impl and checking INTERRUPTED flag and before waiting on condition InterruptedException is not thrown. Patch from HARMONY-1789 could solve this issue by introducing special interrupter thread that would wait for condition to be waited on and corresponding mutex unlocked and interrupt the thread only after that. Patch from HARMONY-2217 removed interrupter thread.
> Salikh wrote test which shows the bug and it shows that same bug appears in Sun's JDK 1.5.0_05.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.