hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15639) Unguarded access to stackIndexes in Procedure#toStringDetails()
Date Tue, 12 Apr 2016 23:02:25 GMT
Ted Yu created HBASE-15639:
------------------------------

             Summary: Unguarded access to stackIndexes in Procedure#toStringDetails()
                 Key: HBASE-15639
                 URL: https://issues.apache.org/jira/browse/HBASE-15639
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Assignee: Ted Yu
            Priority: Minor


In Procedure#toStringDetails() :
{code}
    if (stackIndexes != null) {
      sb.append("\n");
      sb.append("stackIndexes=");
      sb.append(Arrays.toString(getStackIndexes()));
    }
{code}
The access is not protected by synchronized keyword whereas access to stackIndexes is protected
in all other methods.

Note: getStackIndexes() has proper protection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message