{
synchronized (locksHeldLockObject)
{
if (loadState())
{
LockList oldlist = locksHeld;
Lock current = null;
locksHeld = new LockList(); /* create a new one */
if (locksHeld != null)
{
/*
* scan through old list of held locks and propagate
* to parent.
*/
while ((current = oldlist.pop()) != null)
{
if (current.getCurrentOwner().equals(from))
{
current.propagate();
}