Signed-off-by: Shawn O. Pearce <spearce@xxxxxxxxxxx> --- .../findBugs/FindBugsExcludeFilter.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/org.spearce.jgit/findBugs/FindBugsExcludeFilter.xml b/org.spearce.jgit/findBugs/FindBugsExcludeFilter.xml index 526eb01..2af9348 100644 --- a/org.spearce.jgit/findBugs/FindBugsExcludeFilter.xml +++ b/org.spearce.jgit/findBugs/FindBugsExcludeFilter.xml @@ -6,4 +6,13 @@ <Method name="refreshPackedRefs" /> <Bug pattern="DM_STRING_CTOR" /> </Match> + + <!-- Silence PackFile.mmap calls GC, we need to force it to remove stale + memory mapped segments if the JVM heap is out of address space. + --> + <Match> + <Class name="org.spearce.jgit.lib.PackFile" /> + <Method name="mmap" /> + <Bug pattern="DM_GC" /> + </Match> </FindBugsFilter> -- 1.6.3.rc4.206.g03e16 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html