changeset 59021 | cfc7bb9a5a92 |
parent 49934 | 44839fbb20db |
--- a/test/hotspot/jtreg/vmTestbase/nsk/share/locks/LockingThread.java Mon Nov 11 17:43:10 2019 -0800 +++ b/test/hotspot/jtreg/vmTestbase/nsk/share/locks/LockingThread.java Tue Nov 12 06:32:13 2019 +0000 @@ -325,7 +325,7 @@ throw new TestBug("Locking thread can't reach required state (state: " + requiredState + " wasn't reached) in 1 minute"); } - yield(); + Thread.yield(); } requiredState = null;