In certain circumstances, TransactionImpl.enlistResource
() enters an infinite loop. This apparently results from
cycles being introduced in the _enlisted and/or _delisted
linked lists. I believe that the search loop on the
_delisted is the source of the problem, because it
doesn't maintain the previousResHolder reference in the
same way that the _enlisted loop does.