734735736737738739740741742743744
/* Stats */ nRootNodesEvicted.increment(); } } finally { rootIN.releaseLatch(); } return null; } }
18141815181618171818181918201821182218231824
} } } } finally { if (parent != null) { parent.releaseLatch(); } } /* * Continue after releasing the parent latch. The current BIN
19661967196819691970197119721973197419751976
setInitialized(); return found; } catch (DatabaseException e) { /* Release latch on error. */ if (in != null) { in.releaseLatch(); } throw e; } }
783784785786787788789790791792793
assert (result & IN.INSERT_SUCCESS) != 0; assert i == (result & ~IN.INSERT_SUCCESS); } in.recalcKeyPrefix(); in.compactMemory(); in.releaseLatch(); minInSize = in.getInMemorySize(); maxInSize = minInSize + lsnSavings; db.close(); }
494495496497498499500501502503504
IN nodeAsIN = (IN) node; try { nodeAsIN.latch(CacheMode.UNCHANGED); accumulateLSNs(nodeAsIN, pendingLSNs); } finally { nodeAsIN.releaseLatch(); } } } /*
526527528529530531532533534535536
if (isIN) { accumulateLSNs(in, pendingLSNs); } } finally { if (isIN) { in.releaseLatch(); } } } private Node fetchLSNHandleExceptions(long lsn,
14481449145014511452145314541455145614571458
*/ child.beforeLog(logManager, item, context); } else { /* Do not process if not dirty. Unlatch now. */ itemList.remove(itemList.size() - 1); child.releaseLatch(); /* Log parent if child has already been flushed. */ mustLogParent = true; } }
14931494149514961497149814991500150115021503
} return mustLogParent; } finally { for (INLogItem item : itemList) { IN child = (IN) parent.getTarget(item.parentIndex); child.releaseLatch(); } } } /*
15521553155415551556155715581559156015611562
root.setLsn(newLsn); flushed = true; } } } finally { rootIN.releaseLatch(); } return null; } boolean getFlushed() {
11481149115011511152115311541155115611571158
* original version must be made obsolete. */ nINsMigratedThisRun++; inInTree.setDirty(true); inInTree.setProhibitNextDelta(); inInTree.releaseLatch(); dirtied = true; } completed = true; } finally {