Skip to content

Commit 1591118

Browse files
author
mgricken
committed
Added NetBeans memory leak utilities.
git-svn-id: file:///tmp/test-svn/trunk@5265 fe72c1cf-3628-48e9-8b72-1c46755d3cff
1 parent 5b31b33 commit 1591118

File tree

16 files changed

+5374
-0
lines changed

16 files changed

+5374
-0
lines changed

drjava/build.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@
225225
<pathelement location="${java5-tools}" />
226226
<fileset refid="libs" />
227227
<pathelement location="lib/buildlib/junit.jar" />
228+
<pathelement location="lib/buildlib/netbeans-memory-leak-utils.jar" />
228229
<pathelement location="classes/base" />
229230
</classpath>
230231
<compilerarg value="-Xlint" />
@@ -408,6 +409,7 @@
408409
<pathelement location="${test-tools}" />
409410
<pathelement location="${junit-jar}" />
410411
<pathelement location="lib/buildlib/plt-ant.jar" /> <!-- required for custom formatter -->
412+
<pathelement location="lib/buildlib/netbeans-memory-leak-utils.jar" />
411413
<pathelement location="${clover-jar}" />
412414
<pathelement location="classes/test" />
413415
<pathelement location="classes/base" />
@@ -575,6 +577,7 @@
575577
<pathelement location="${java5-tools}" />
576578
<fileset refid="libs" />
577579
<pathelement location="lib/buildlib/junit.jar" />
580+
<pathelement location="lib/buildlib/netbeans-memory-leak-utils.jar" />
578581
</classpath>
579582
<link href="http://java.sun.com/j2se/1.5/docs/api" />
580583
<link href="http://junit.org/junit/javadoc/3.8.1" />
@@ -645,6 +648,7 @@
645648
<pathelement location="${java5-tools}" />
646649
<pathelement location="classes/lib" />
647650
<pathelement location="lib/buildlib/junit.jar" />
651+
<pathelement location="lib/buildlib/netbeans-memory-leak-utils.jar" />
648652
</auxclasspath>
649653
</findbugs>
650654
<delete file="findbugs-excludes.xml" />
98.7 KB
Binary file not shown.

misc/netbeans-memory-leak-utils/LICENSE.txt

Lines changed: 2285 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
See
2+
http://blogs.sun.com/tor/entry/leak_unit_tests
3+
for more information.
4+
5+
You want to include assertgc.jar and org-netbeans-insane.jar on your test classpath,
6+
then call assertGc() and assertSize() as described in the above blog entry,
7+
or here: http://performance.netbeans.org/insane/index.html
8+

0 commit comments

Comments
 (0)