Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The "HowToUseConcurrencyAnalysisTools" page has been changed by 
KonstantinBoudnik.
http://wiki.apache.org/hadoop/HowToUseConcurrencyAnalysisTools?action=diff&rev1=3&rev2=4

--------------------------------------------------

  If you'd like to add !SureLogic analysis to your Apache's project, you will 
need to configure your build to automatically download and use annotation jar 
file to make your compiler aware about these. It is simple enough to do thanks 
to Maven. You can take a look to [[HDFS-801| to use its patch]] for your 
project as soon as it's committed.
  
  === Some examples of annotations and how to use them ===
- HDFS, MapReduce, and ZooKeeper already has some !SureLogic annotations in 
their source code. Here's some examples from HDFS. 
+ HDFS, !MapReduce, and !ZooKeeper already has some !SureLogic annotations in 
their source code. Here's some examples from HDFS. 
  
- First, you need to declare abstract annotation 
[http://surelogic.com/promises/apidocs/com/surelogic/Region.html|Region] and 
declare all necessary 
[http://surelogic.com/promises/apidocs/com/surelogic/RegionLock.html|RegionLocks]:
+ First, you need to declare abstract annotation 
[[http://surelogic.com/promises/apidocs/com/surelogic/Region.html|Region]] and 
declare all necessary 
[[http://surelogic.com/promises/apidocs/com/surelogic/RegionLock.html|RegionLocks]]:
  {{{#!java
  @Regions({...@region("HeartbeatState"),
        @Region("DatanodeState")})
@@ -68, +68 @@

  
  !SureLogic analysis is going to be included to the test-patch process. This 
said new patches are required not to raise !SureLogic warnings level (similar 
to the requirements about FindBugs or javac).
  
- === Annotations retention policy =='em
+ === Annotations retention policy ===
  Annotations are part of the source code and needed for analysis purpose only. 
Thus, the promises will be needed only during compile time and for development. 
A production code won't include this jar file thus there won't be any impact on 
the final project's bits.
  
  === JIRA filing guidelines ===

Reply via email to