< prev index next >

test/jdk/java/util/concurrent/locks/Lock/TimedAcquireLeak.java

Print this page
rev 51731 : imported patch 8210732

*** 23,33 **** /* * @test * @bug 6460501 6236036 6500694 6490770 * @summary Repeated failed timed waits shouldn't leak memory ! * @library /lib/testlibrary/ * @author Martin Buchholz */ import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; --- 23,33 ---- /* * @test * @bug 6460501 6236036 6500694 6490770 * @summary Repeated failed timed waits shouldn't leak memory ! * @library /test/lib * @author Martin Buchholz */ import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS;
*** 54,64 **** import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.locks.ReentrantLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.regex.Matcher; import java.util.regex.Pattern; ! import jdk.testlibrary.Utils; public class TimedAcquireLeak { static final long LONG_DELAY_MS = Utils.adjustTimeout(10_000); static String javahome() { --- 54,64 ---- import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.locks.ReentrantLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.regex.Matcher; import java.util.regex.Pattern; ! import jdk.test.lib.Utils; public class TimedAcquireLeak { static final long LONG_DELAY_MS = Utils.adjustTimeout(10_000); static String javahome() {
< prev index next >