comparison graal/findbugsExcludeFilter.xml @ 14546:942c4daa9db9

added findbugs command to mx
author Doug Simon <doug.simon@oracle.com>
date Sat, 15 Mar 2014 01:42:27 +0100
parents
children
comparison
equal deleted inserted replaced
14545:4877b0cb446f 14546:942c4daa9db9
1 <FindBugsFilter>
2
3 <Match>
4 <Class name="com.oracle.graal.hotspot.CompilationTask" />
5 <Method name="run" />
6 <Bug pattern="NN_NAKED_NOTIFY" />
7 </Match>
8
9 <!-- justification = "concurrent abstraction calls are in synchronized block" -->
10 <Match>
11 <Class name="com.oracle.graal.hotspot.debug.BenchmarkCounters" />
12 <Method name="getIndex" />
13 <Bug pattern="AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION" />
14 </Match>
15
16 <!-- justification = "counters are only used for statistics" -->
17 <Match>
18 <Class name="com.oracle.graal.hotspot.meta.HotSpotGraphCache" />
19 <Or>
20 <Method name="get" />
21 <Method name="put" />
22 <Method name="removeGraphs" />
23 </Or>
24 <Bug pattern="VO_VOLATILE_INCREMENT" />
25 </Match>
26
27 <!-- justification = "reference equality on the receiver is what we want" -->
28 <Match>
29 <Class name="com.oracle.graal.replacements.StringSubstitutions" />
30 <Method name="equals" />
31 <Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
32 </Match>
33
34 <!-- justification = "reference equality to test whether string is interned" -->
35 <Match>
36 <Class name="com.oracle.graal.hotspot.phases.AheadOfTimeVerificationPhase" />
37 <Method name="isInternedString" />
38 <Bug pattern="ES_COMPARING_STRINGS_WITH_EQ" />
39 </Match>
40
41 </FindBugsFilter>