jdk/test/java/util/concurrent/BlockingQueue/PollMemoryLeak.java
changeset 4110 ac033ba6ede4
parent 3708 f838f712922e
child 5506 202f599c92aa
equal deleted inserted replaced
4109:b997a0a1005d 4110:ac033ba6ede4
    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();