uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Closed: (UIMA-1317) Modify UIMA AS Endpoint Object To Use Volatile Booleans
Date Fri, 10 Apr 2009 13:50:14 GMT

     [ 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.


Mime
View raw message