RFR : JDK-8175542 - JMX: Not enough JDP packets received

Harsha Wardhana B harsha.wardhana.b at oracle.com
Wed Dec 13 12:02:11 UTC 2017


Hi Amit,

Increasing the timeout 'TIME_OUT_FACTOR' will increase both socket and 
test-case timeout. The test passed as can be seen from the log, but 
because of the race-condition: hasTestLivedLongEnough() checked before 
shouldContinue(), the test was declared failed because of time-out.

One possible fix would be to change line 80 to,

                 if (shouldContinue() && hasTestLivedLongEnough())

Thanks

Harsha


On Wednesday 13 December 2017 11:03 AM, Amit Sapre wrote:
>
> Hello,
>
> Please review the timeout fix for this bug.
>
> Bug ID : https://bugs.openjdk.java.net/browse/JDK-8175542
>
> Webrev : 
> http://cr.openjdk.java.net/~asapre/webrev/2017/JDK-8175542/webrev.00/ 
> <http://cr.openjdk.java.net/%7Easapre/webrev/2017/JDK-8175542/webrev.00/>
>
> Thanks,
>
> Amit
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20171213/a3a49203/attachment.html>


More information about the serviceability-dev mailing list