Searched refs:finalizerWait (Results 1 – 2 of 2) sorted by relevance
30 CountDownLatch finalizerWait = new CountDownLatch(1); in main() local35 createBadFinalizer(finalizerWait); in main()42 if (!finalizerWait.await(1, MINUTES)) { in main()57 private static void createBadFinalizer(CountDownLatch finalizerWait) { in createBadFinalizer() argument58 BadFinalizer bf = new BadFinalizer(finalizerWait); in createBadFinalizer()76 private CountDownLatch finalizerWait; field in Main.BadFinalizer79 public BadFinalizer(CountDownLatch finalizerWait) { in BadFinalizer() argument80 this.finalizerWait = finalizerWait; in BadFinalizer()85 finalizerWait.countDown(); in finalize()
29 CountDownLatch finalizerWait = new CountDownLatch(1); in main() local32 createBadFinalizer(finalizerWait); in main()41 finalizerWait.await(1, MINUTES); in main()67 private static void createBadFinalizer(CountDownLatch finalizerWait) { in createBadFinalizer() argument68 BadFinalizer bf = new BadFinalizer(finalizerWait); in createBadFinalizer()85 private CountDownLatch finalizerWait; field in Main.BadFinalizer88 public BadFinalizer(CountDownLatch finalizerWait) { in BadFinalizer() argument89 this.finalizerWait = finalizerWait; in BadFinalizer()93 finalizerWait.countDown(); in finalize()