equal
deleted
inserted
replaced
79 wicket.waitFor(); |
79 wicket.waitFor(); |
80 try { |
80 try { |
81 stresser.start(runParams.getIterations()); |
81 stresser.start(runParams.getIterations()); |
82 while (!this.isInterrupted() && stresser.iteration()) { |
82 while (!this.isInterrupted() && stresser.iteration()) { |
83 test.run(); |
83 test.run(); |
84 yield(); |
84 Thread.yield(); |
85 } |
85 } |
86 waitForOtherThreads(); |
86 waitForOtherThreads(); |
87 } catch (OutOfMemoryError oom) { |
87 } catch (OutOfMemoryError oom) { |
88 waitForOtherThreads(); |
88 waitForOtherThreads(); |
89 if (test instanceof OOMStress) { |
89 if (test instanceof OOMStress) { |