Hi,

Regarding the issue[1], handleStuckThread() method in class
CarbonStuckThreadDetectionValve [2] interrupt threads only when warn logs
are enabled. If the thread handling operations are handled outside the if
block, stuck threads can be interrupted without user being informed. Is it
preferred to kill threads without giving any warning?.

[1] https://wso2.org/jira/browse/CARBON-14603
[2]
https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.tomcat.ext/src/main/java/org/wso2/carbon/tomcat/ext/valves/CarbonStuckThreadDetectionValve.java

Thanks,
Nipuni

-- 
Nipuni Perera
Software Engineer; WSO2 Inc.; http://wso2.com
Email: [email protected]
Git hub profile: https://github.com/nipuni
Mobile: +94 (71) 5626680
<http://wso2.com>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to