RFR: 8222749: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter001/TestDescription.java failed with "eventSet1.size() != 3 :: 2"
Daniil Titov
daniil.x.titov at oracle.com
Thu Apr 25 23:34:01 UTC 2019
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