java - Get notified when app runs into an infinite loop? -


we have our product built on java stack, , transactional system. curious know have mechanism notification can sent if program goes infinite loop? or may can kill java process itself? or better?

if using jta-transactions can set timeout these on application server. exception thrown if transaction takes time (for instance because of infinite loop, if transaction taking long time. higher set threshold, lower risk of catching not infinte loop.) guess use aspect-oriented programming (aop) wrap exception , create notification.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -