You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org> on 2009/04/06 22:35:14 UTC
[jira] Created: (UIMA-1317) Modify UIMA AS Endpoint Object To Use
Volatile Booleans
Modify UIMA AS Endpoint Object To Use Volatile Booleans
-------------------------------------------------------
Key: UIMA-1317
URL: https://issues.apache.org/jira/browse/UIMA-1317
Project: UIMA
Issue Type: Bug
Components: Async Scaleout
Reporter: Jerry Cwiklik
Endpoint object in Uima AS should declare booleans as volatile to avoid possible race conditions. Due to java memory model, an unsychronized change of a boolean value in one thread may not be visible to another thread. Declaring a boolean as volatile fixes this without requiring explicit synchronization.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1317) Modify UIMA AS Endpoint Object To Use
Volatile Booleans
Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik closed UIMA-1317.
-------------------------------
Resolution: Fixed
> Modify UIMA AS Endpoint Object To Use Volatile Booleans
> -------------------------------------------------------
>
> Key: UIMA-1317
> URL: https://issues.apache.org/jira/browse/UIMA-1317
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
>
> Endpoint object in Uima AS should declare booleans as volatile to avoid possible race conditions. Due to java memory model, an unsychronized change of a boolean value in one thread may not be visible to another thread. Declaring a boolean as volatile fixes this without requiring explicit synchronization.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1317) Modify UIMA AS Endpoint Object To Use
Volatile Booleans
Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik updated UIMA-1317:
--------------------------------
Fix Version/s: 2.3AS
> Modify UIMA AS Endpoint Object To Use Volatile Booleans
> -------------------------------------------------------
>
> Key: UIMA-1317
> URL: https://issues.apache.org/jira/browse/UIMA-1317
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Fix For: 2.3AS
>
>
> Endpoint object in Uima AS should declare booleans as volatile to avoid possible race conditions. Due to java memory model, an unsychronized change of a boolean value in one thread may not be visible to another thread. Declaring a boolean as volatile fixes this without requiring explicit synchronization.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.