projects
/
mate.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gc: delegated mallocs in GarbageAlloc to hs-boehmgc (Mate.GC.Boehm.mallocBytes);
[mate.git]
/
tests
/
Garbage1.java
1
package tests;
2
3
4
public class Garbage1
5
{
6
7
8
public Garbage1(){}
9
10
public static void main(String args[])
11
{
12
13
Big2 big2 = new Big2();
14
for(int i=0;i<0x2800;i++)
15
{
16
big2 = new Big2();
17
}
18
System.out.println("memory: todo");
19
}
20
}
21
22
class Big2
23
{
24
private int[]arr;
25
26
public Big2()
27
{
28
arr = new int[0x400];
29
//System.out.println("foo");
30
}
31
}