One consequence of not using these ThreadGroups and just appending
the expected name is
that could make debugging more difficult [1].
In such a case, maybe it is worth keeping static ThreadGroup references to keep the
organizational structure, at least until there is a new thread-organizing construct in
future JDK versions.
[1]
https://bugs.openjdk.org/browse/JDK-8252885
Thanks for pointing this out. Sorry, the currently broken mail delivery from this list
meant I didn't see this until yesterday.
Do Eclipse or NetBeans do anything useful with this data? Or other tools? AFAICT IDEA
doesn't, nor does JConsole. IDEA shows the TG in its string representation of a thread
but I don't see any way to filter or sort based on that.