RFR for bug JDK-8004807: java/util/Timer/Args.java failing intermittently in HS testing (original) (raw)

Martin Buchholz martinrb at google.com
Wed Jun 4 01:16:50 UTC 2014


On Tue, Jun 3, 2014 at 6:12 PM, Eric Wang <yiming.wang at oracle.com> wrote:

Hi Martin,

To sleep(1000) is not enough to reproduce the failure, because it is much lower than the period DELAYMS (10*1000) of the repeated task created by "scheduleAtFixedRate(t, counter(y3), past, DELAYMS)". Try sleep(DELAYMS), the failure can be reproduced.

Well sure, then the task is rescheduled, so I expect it to fail in this case.

But in my version I had set DELAY_MS to 100 seconds. The point of extending the DELAY_MS is to prevent flaky failure on a slow machine.

Again, how do we know that this test hasn't found a Timer bug?

I still can't reproduce it.



More information about the core-libs-dev mailing list