equal
deleted
inserted
replaced
32 |
32 |
33 import java.lang.ref.SoftReference; |
33 import java.lang.ref.SoftReference; |
34 |
34 |
35 public class Pin { |
35 public class Pin { |
36 |
36 |
37 final static int NUM_BLOCKS = 128; |
37 static final int NUM_BLOCKS = 128; |
38 final static int BLOCK_SIZE = 32768; |
38 static final int BLOCK_SIZE = 32768; |
39 |
39 |
40 public static void main(String[] args) throws Exception { |
40 public static void main(String[] args) throws Exception { |
41 |
41 |
42 SoftReference[] blocks = new SoftReference[NUM_BLOCKS]; |
42 SoftReference[] blocks = new SoftReference[NUM_BLOCKS]; |
43 |
43 |