summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-mem-typecheck.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-mem-typecheck.scala')
-rw-r--r--test/files/run/reflection-mem-typecheck.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/run/reflection-mem-typecheck.scala b/test/files/run/reflection-mem-typecheck.scala
index e3cabf689d..93ec1c937a 100644
--- a/test/files/run/reflection-mem-typecheck.scala
+++ b/test/files/run/reflection-mem-typecheck.scala
@@ -11,7 +11,9 @@ object Test extends MemoryTest {
cm.mkToolBox()
}
- override def maxDelta = 10
+ // I'm not sure this is a great way to test for memory leaks,
+ // since we're also testing how good the JVM's GC is, and this is not easily reproduced between machines/over time
+ override def maxDelta = 12
override def calcsPerIter = 8
override def calc() {
var snippet = """