[ https://issues.apache.org/jira/browse/HADOOP-7362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046051#comment-13046051 ]
Tom White commented on HADOOP-7362: ----------------------------------- You're right that GuardedBy is not suitable for documenting locking order. How about introducing a LockingOrder annotation that takes an array of values? > Create a Lock annotation to document locking (hierarchies) for methods > ---------------------------------------------------------------------- > > Key: HADOOP-7362 > URL: https://issues.apache.org/jira/browse/HADOOP-7362 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Arun C Murthy > Assignee: Arun C Murthy > > It will be useful to have better developer docs via a Lock annotation to > document locking (hierarchies) for methods. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira