code: private void map() {
      if (storageLevel == StorageLevel.MAPPED) {
        MappedByteBuffer buffer = writer.map();
        readers.forEach(reader -> reader.map(buffer));
      }
    }
docs: Maps the log segment into memory.