Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4484

Investigate SeekableByteArrayInputStream to determine if volatile being used correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.8.0
    • None
    • core
    • None

    Description

      While looking at ACCUMULO-4483 I ran across SeekableByteArrayInputStream. I'm curious if the cur and max variables also need to be volatile as they are not read after the update to the volatile byte[].

      Attachments

        Activity

          People

            Unassigned Unassigned
            dlmarion Dave Marion
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: