mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-16 10:53:31 +00:00
8201603: MonitorContendedEnter failure in nsk/jvmti/scenarios/contention/TC02/tc02t001
Reviewed-by: cjplummer
This commit is contained in:
parent
182a991df2
commit
7b7315dbed
@ -71,7 +71,7 @@ public class tc02t001 extends DebugeeClass {
|
||||
|
||||
thread.waitingBarrier1.unlock();
|
||||
try {
|
||||
Thread.sleep(100);
|
||||
Thread.sleep(1000); // Wait for contended "synchronized (M)"
|
||||
thread.M.wait(timeout);
|
||||
} catch (InterruptedException e) {
|
||||
throw new Failure(e);
|
||||
@ -79,7 +79,7 @@ public class tc02t001 extends DebugeeClass {
|
||||
|
||||
thread.waitingBarrier2.unlock();
|
||||
try {
|
||||
Thread.sleep(100);
|
||||
Thread.sleep(1000); // Wait for contended "synchronized (M)"
|
||||
thread.M.wait(timeout);
|
||||
} catch (InterruptedException e) {
|
||||
throw new Failure(e);
|
||||
@ -87,7 +87,7 @@ public class tc02t001 extends DebugeeClass {
|
||||
|
||||
thread.waitingBarrier3.unlock();
|
||||
try {
|
||||
Thread.sleep(100);
|
||||
Thread.sleep(1000); // Wait for contended "synchronized (M)"
|
||||
thread.M.wait(timeout);
|
||||
} catch (InterruptedException e) {
|
||||
throw new Failure(e);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user