Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.9.2
-
Component/s: Runtime: Threads and Concurrency
-
Labels:None
-
Number of attachments :
Description
When a thread is interrupted it is assumed to have already been scheduled. If a thread hasn't then the interrupt won't occur and if a sleep(0) has been performed then the VM can deadlock. A test case for this has been added in the basic tests as of svn revision 12715.
Activity
Ian Rogers
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 3.0 [ 13530 ] | |
| Component/s | Runtime: Threads and Concurrency [ 12865 ] | |
| Component/s | Runtime [ 12834 ] | |
| Fix Version/s | 2.9.1 [ 13529 ] |
Ian Rogers
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
Peter Donald
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
Peter Donald
made changes -
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 3.0 [ 13530 ] | |
| Fix Version/s | 2.9.2 [ 13599 ] |
What's true for sleeping is also true for waiting