631632633634635636637638639640641
try { splitRoot(rootBlock); validate(rootBlock); } finally { rootLock.unlockReadAndWrite(); } } finally { rootBlock.free(); } }
867868869870871872873874875876877
} } return _minN <= getLength(buffer); } finally { blockLock.unlockReadAndWrite(); } } /** * Balances the block size so it's always 1/2 full. joinBlocks is called
944945946947948949950951952953954
leftBlock.setDirty(0, BlockStore.BLOCK_SIZE); return false; } } finally { blockLock.unlockReadAndWrite(); } } finally { leftLock.unlockReadAndWrite(); } } finally {
992993994995996997998999100010011002
rightBlock.setDirty(0, BlockStore.BLOCK_SIZE); return false; } } finally { rightLock.unlockReadAndWrite(); } } finally { blockLock.unlockReadAndWrite(); } } finally {
10481049105010511052105310541055105610571058
// System.out.println("FREE-ML: " + block); return true; } } finally { blockLock.unlockReadAndWrite(); } } finally { leftLock.unlockReadAndWrite(); } } finally {
11021103110411051106110711081109111011111112
// System.out.println("FREE-MR: " + block); return true; } } finally { rightLock.unlockReadAndWrite(); } } finally { blockLock.unlockReadAndWrite(); } } finally {
774775776777778779780781782783784
return rowOffset; } } } finally { blockLock.unlockReadAndWrite(); } return -1; }
495496497498499500501502503504505
if (_readLocks != null) _readLocks.remove(lock); try { lock.unlockReadAndWrite(); } catch (Throwable e) { log.log(Level.WARNING, e.toString(), e); } }