equal
deleted
inserted
replaced
29 * @run main/othervm/timeout=1000 AutoShutdown |
29 * @run main/othervm/timeout=1000 AutoShutdown |
30 * @author Martin Buchholz |
30 * @author Martin Buchholz |
31 */ |
31 */ |
32 |
32 |
33 import static java.util.concurrent.Executors.defaultThreadFactory; |
33 import static java.util.concurrent.Executors.defaultThreadFactory; |
34 import static java.util.concurrent.Executors.newFixedThreadPool; |
|
35 import static java.util.concurrent.Executors.newSingleThreadScheduledExecutor; |
|
36 import static java.util.concurrent.Executors.newSingleThreadExecutor; |
34 import static java.util.concurrent.Executors.newSingleThreadExecutor; |
37 |
35 |
38 import static java.util.concurrent.TimeUnit.MILLISECONDS; |
36 import static java.util.concurrent.TimeUnit.MILLISECONDS; |
39 |
37 |
40 import java.lang.ref.WeakReference; |
38 import java.lang.ref.WeakReference; |