Can I place lot of CPU and IO intensive code in ShutDown Hook
<p>I am having lot of CPU and IO intensive code in shutdown hook. Some times I see they are not getting executed properly. 
So Is there any limitation like we should not have lot of code in shutdown hook.</p>

<p>Thanks
D. L. Kumar</p>
