RFR: 8303916: ThreadLists.java inconsistent results

David Holmes dholmes at openjdk.org
Mon Jun 19 00:51:30 UTC 2023


On Thu, 15 Jun 2023 09:17:24 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> I did look at the history and this test exists because of previous confusion about thread groups, where the top thread group and the MXBean thread lists could be different. So if this test creates new threads and checks they are in both lists, it loses the original purpose as I read it.

Can you elaborate what the issue was please. I would have to suspect the wrong "top" ThreadGroup was being used (main vs. system).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14465#issuecomment-1596332757


More information about the serviceability-dev mailing list