question: private void compactEntries ( Segment segment , Segment compactSegment ) { for ( long i = segment . firstIndex ( ) ; i <= segment . lastIndex ( ) ; i ++ ) { checkEntry ( i , segment , compactSegment ) ; } }
target:  Compacts entries from the given segment, rewriting them to the compact segment.