int l = nodesArray.size();
Object[] dirty = dirtyNodes.values().toArray();
    public synchronized void abort() throws Exception {        int l = nodesArray.size();        for (int i = 0; i < l; i++) {            Node node = (Node) nodesArray.get(i);            // Declare node as invalid, so it won't be used by other threads that want to            // write on it and remove it from cache            nmgr.evictNode(node);            node.clearWriteLock();        }        nodes.clear();        nodesArray.clear();        cleannodes.clear();        // close any JDBC connections associated with this transactor thread        closeConnections();        if (active) {            active = false;            if (txn != null) {                nmgr.db.abortTransaction(txn);                txn = null;            }            nmgr.app.logAccess(tname + " aborted after " +                               (System.currentTimeMillis() - tstart) + " millis");        }    }