< prev index next >

test/jdk/jdk/jfr/event/runtime/TestThreadCpuTimeEvent.java

Print this page
rev 56807 : [mq]: 8232684-v2

*** 105,115 **** barrier.await(); } } catch (BrokenBarrierException e) { // Another thread has been interrupted - wait for us to be interrupted as well while (!interrupted()) { ! yield(); } } catch (InterruptedException e) { // Normal way of stopping the thread } } --- 105,115 ---- barrier.await(); } } catch (BrokenBarrierException e) { // Another thread has been interrupted - wait for us to be interrupted as well while (!interrupted()) { ! Thread.yield(); } } catch (InterruptedException e) { // Normal way of stopping the thread } }
< prev index next >