RFR: 8222749: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter001/TestDescription.java failed with "eventSet1.size() != 3 :: 2"
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Fri Apr 26 00:09:21 UTC 2019
Hi Daniil,
Looks good.
Thanks,
Serguei
On 4/25/19 4:34 PM, Daniil Titov wrote:
> Please review the change that fixes this test when it is run with Graal on.
>
> The test starts the debugee, creates multiple thread start requests, tells the debuggee to start a new thread, and listens for the thread start events received. If the number of the received thread start events doesn't match the number of created thread start requests the test fails. The problem here is that with Graal on, sometimes, the test receives events caused by the start of "HotSpotGraalManagement Bean Registration" thread.
>
> The fix ensures that a thread filter is added for all created thread start requests to ignore events caused by the threads not related to the test.
>
> Webrev: http://cr.openjdk.java.net/~dtitov/8222749/webrev.01/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8222749
>
> Thanks,
> Daniil
>
>
More information about the serviceability-dev
mailing list