[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR (S): 8223736: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails due to
From:       "serguei.spitsyn () oracle ! com" <serguei ! spitsyn () oracle ! com>
Date:       2019-06-20 23:20:55
Message-ID: f57404d6-3a59-fbc5-cb9a-505b6f920eb0 () oracle ! com
[Download RAW message or body]

Thanks a lot, Chris!
Serguei


On 6/20/19 16:04, Chris Plummer wrote:
> Looks good.
>
> Chris
>
> On 6/20/19 2:56 PM, serguei.spitsyn@oracle.com wrote:
>> PING ...
>>
>>
>> On 6/19/19 18:59, serguei.spitsyn@oracle.com wrote:
>>> Sorry, forgot the   bug title to add to the email subject.
>>>
>>> Thanks,
>>> Serguei
>>>
>>> On 6/19/19 6:09 PM, serguei.spitsyn@oracle.com wrote:
>>>> Please review a fix for test bug:
>>>>    https://bugs.openjdk.java.net/browse/JDK-8223736
>>>>
>>>> Webrev:
>>>> http://cr.openjdk.java.net/~sspitsyn/webrevs/2019/8223736-mon-events-test.1/ 
>>>>
>>>>
>>>> Summary:
>>>>   It seems that waiting for 0.5 sec for a MonitorContendedEnter 
>>>> event in the
>>>>   increment() method sometime is not enough (especially when the JFR 
>>>> is enabled).
>>>>   The fix implement an approach to ensure the event has posted 
>>>> before the worker
>>>>   thread goes to the next iteration.
>>>>   Also, another check is added to diagnose if any of two worker threads
>>>>   (tc04t001Thread) has been interrupted by timeout.
>>>>   In fact, we have many other tests which miss this kind of check 
>>>> and diagnostics.
>>>>   We may want to consider fixing other cases if we encounter this 
>>>> eventually happens.
>>>>
>>>> Testing:
>>>>   A mach5 test submission is in progress.
>>>>
>>>> Thanks,
>>>> Serguei
>>>>
>>>
>>
>
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic