hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4844) Counters.java doesn't obey Java Memory Model
Date Tue, 04 Dec 2012 19:24:58 GMT
Gera Shegalov created MAPREDUCE-4844:
----------------------------------------

             Summary: Counters.java doesn't obey Java Memory Model
                 Key: MAPREDUCE-4844
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4844
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 1.0.4
            Reporter: Gera Shegalov


Counters have a number of immutable fields that have not been declared 'final'.

For example, the field groups is not final. It is, however, accessed in a couple of methods
that are declared 'synchronized'. While there is a happens-before relationship between these
methods calls, there is none between the Counters object initialization and these synchronized
methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message