mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Reduce Thread.sleep to Jvm.pause, delays >= 1s to 500 ms, and remove "throws Exception" from tests
This commit is contained in:
@@ -157,7 +157,7 @@ public class LargeEntriesTest {
|
||||
sb.append(thisThread).append("\n");
|
||||
try {
|
||||
while (!Thread.currentThread().isInterrupted()) {
|
||||
Thread.sleep(50);
|
||||
Jvm.pause(50);
|
||||
StackTraceElement[] stackTrace = thisThread.getStackTrace();
|
||||
for (int i = 0; i < 4 && i < stackTrace.length; i++)
|
||||
sb.append("\tat ").append(stackTrace[i]).append("\n");
|
||||
|
||||
Reference in New Issue
Block a user