You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2014/07/30 20:18:20 UTC

sleep?

Hi guys,

running bean validation TCKs on TomEE I wondered why undeployment was
"slow" (well that's ok excepted when you pass >700 tests ;)).

Finally realized:
org.apache.tomcat.util.threads.ThreadPoolExecutor#contextStopping was
doing sleep(200).

Can't we get something better here?


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: sleep?

Posted by Mark Thomas <ma...@apache.org>.
On 30/07/2014 19:18, Romain Manni-Bucau wrote:
> Hi guys,
> 
> running bean validation TCKs on TomEE I wondered why undeployment was
> "slow" (well that's ok excepted when you pass >700 tests ;)).
> 
> Finally realized:
> org.apache.tomcat.util.threads.ThreadPoolExecutor#contextStopping was
> doing sleep(200).
> 
> Can't we get something better here?

Probably. Open an enhancement request.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org