Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1317

Modify UIMA AS Endpoint Object To Use Volatile Booleans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3AS
    • Async Scaleout
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: