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] Created: (UIMA-1317) Modify UIMA AS Endpoint Object To Use Volatile Booleans
Date Mon, 06 Apr 2009 20:35:14 GMT
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