equal
deleted
inserted
replaced
44 |
44 |
45 public class PollMemoryLeak { |
45 public class PollMemoryLeak { |
46 public static void main(String[] args) throws InterruptedException { |
46 public static void main(String[] args) throws InterruptedException { |
47 final BlockingQueue[] qs = { |
47 final BlockingQueue[] qs = { |
48 new LinkedBlockingQueue(10), |
48 new LinkedBlockingQueue(10), |
49 // new LinkedTransferQueue(), |
49 new LinkedTransferQueue(), |
50 new ArrayBlockingQueue(10), |
50 new ArrayBlockingQueue(10), |
51 new SynchronousQueue(), |
51 new SynchronousQueue(), |
52 new SynchronousQueue(true), |
52 new SynchronousQueue(true), |
53 }; |
53 }; |
54 final long start = System.currentTimeMillis(); |
54 final long start = System.currentTimeMillis(); |