hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7362) Create a Lock annotation to document locking (hierarchies) for methods
Date Tue, 07 Jun 2011 12:01:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045382#comment-13045382
] 

Arun C Murthy commented on HADOOP-7362:
---------------------------------------

bq. This would be very nice for developers inspecting whether a method of a class(or its inheritors)
have a lock or not.

Precisely - it will aid developers to understand and reason locking, and serve as a documentation
aid. 

I hope, eventually, we can tie this to a tool to do static/dynamic analysis e.g. jcarder.


----

OTOH, is there an existing mechanism we should be using in-lieu of the proposed annotation?

> 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

Mime
View raw message