Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 152797 Details for
Bug 295796
Deadlock in JobManager.yieldRule
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix
patch.txt (text/plain), 1000 bytes, created by
John Arthorne
on 2009-11-21 23:47:29 EST
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
John Arthorne
Created:
2009-11-21 23:47:29 EST
Size:
1000 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.core.jobs >Index: src/org/eclipse/core/internal/jobs/ThreadJob.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/ThreadJob.java,v >retrieving revision 1.6 >diff -u -r1.6 ThreadJob.java >--- src/org/eclipse/core/internal/jobs/ThreadJob.java 20 Nov 2009 22:26:16 -0000 1.6 >+++ src/org/eclipse/core/internal/jobs/ThreadJob.java 22 Nov 2009 04:47:38 -0000 >@@ -283,7 +283,9 @@ > if (blocker == newBlocker) { > synchronized (blockingJob.jobStateLock) { > try { >- blockingJob.jobStateLock.wait(); >+ //blocking job may have finished before we entered sync block >+ if (blockingJob.getState() == Job.RUNNING) >+ blockingJob.jobStateLock.wait(); > } catch (InterruptedException e) { > interrupted = true; > // Must break here to ensure aboutToWait() is called outside the lock.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 295796
: 152797