protected void decrOriginalSegmentLoad ( int index ) { try { long address = getAddress ( index ) ; int segPos = _addressFormat . getOffset ( address ) ; int segInd = _addressFormat . getSegment ( address ) ; int length = _addressFormat . getDataSize ( address ) ; if ( segPos >= Segment . dataStartPosition ) { // get data segment Segment seg = _segmentManager . getSegment ( segInd ) ; // read data length if ( seg != null ) seg . decrLoadSize ( 4 + ( ( length == 0 ) ? seg . readInt ( segPos ) : length ) ) ; } } catch ( IOException e1 ) { } catch ( IndexOutOfBoundsException e2 ) { } }
Decrease the load factor of a Segment based on the specified array index .