Is it possible to add a stuck tread detection in WildFly. It appears this is being added to Tomcat 9 and would be nice feature to have in WFLY (https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Stuck_Thread_Detection_Valve). This doesn't have to be a valve as it is in Tomcat, since WildFly doesn't use Valves, but perhaps via some other mechanism.
1. Display in console for the particular server instance that is having a stuck thread issue.
2. Also report this in the server.log.
This type of feature also exists in WebLogic currently.