In this article about Software Transactional Memory I found this note:
It is also recommended to release locks in the reverse order from which they were acquired.
Why would this be recommended? In what scenarios? It seems to me that it'd be more beneficial to release locks as soon as possible in whatever order.