You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/03/05 11:57:27 UTC
[jira] Created: (SLING-1426) Spurious wakeups are not handled
correctly
Spurious wakeups are not handled correctly
------------------------------------------
Key: SLING-1426
URL: https://issues.apache.org/jira/browse/SLING-1426
Project: Sling
Issue Type: Bug
Components: Extensions
Affects Versions: Extensions Event 2.3.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Extensions Event 2.3.2
According to the javadocs, a object.wait() should always be done in a loop in order to catch spurious wakeups.
The JobEventHandler implementation does not wait in a loop which might result in dead locks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1426) Spurious wakeups are not handled
correctly
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1426.
-------------------------------------
Resolution: Fixed
Now waiting in a loop until condition holds true.
In addition I changed the finishJob method to reduce the time spent in synchronized blocks
Everything done with revision 919431
> Spurious wakeups are not handled correctly
> ------------------------------------------
>
> Key: SLING-1426
> URL: https://issues.apache.org/jira/browse/SLING-1426
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Extensions Event 2.3.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Extensions Event 2.3.2
>
>
> According to the javadocs, a object.wait() should always be done in a loop in order to catch spurious wakeups.
> The JobEventHandler implementation does not wait in a loop which might result in dead locks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1426) Spurious wakeups are not handled
correctly
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-1426.
-----------------------------------
> Spurious wakeups are not handled correctly
> ------------------------------------------
>
> Key: SLING-1426
> URL: https://issues.apache.org/jira/browse/SLING-1426
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Extensions Event 2.3.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Extensions Event 2.4.0
>
>
> According to the javadocs, a object.wait() should always be done in a loop in order to catch spurious wakeups.
> The JobEventHandler implementation does not wait in a loop which might result in dead locks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.