}
public void markReferredBlocks(final long cur, final long last, final long[] textBlocks, final SerializationContext serContext) {
long firstPage = directToPageOffset(cur);
long lastPage = directToPageOffset(last);
LongRangeSet ranges = serContext.ranges();
if(ranges.isEmpty()) {
bindSerializationContext(serContext);
}
ranges.addRange(firstPage, lastPage + PAGE_SIZE);
final Set<Long> textBufferAddrs = serContext.textBufferAddresses();
for(long tb : textBlocks) {
textBufferAddrs.add(tb);
}
}