@Override
  protected void putSpaceFillerRecord(final long recordOffset,
                                      final int pageSize) throws IOException {
    final RecordLayout.PaddingRecord paddingRecord = RecordLayout.PaddingRecord.INSTANCE;

    final int offsetInPage = toOffsetOnPage(recordOffset);
    final int remainingOnPage = pageSize - offsetInPage;

    pagedStorage.lockWrite();
    try {
      final DirectBufferWrapper page = pagedStorage.getByteBuffer(recordOffset, /*forWrite: */ true);
      try {
        final int capacity = remainingOnPage - paddingRecord.headerSize();
        paddingRecord.putRecord(page.getBuffer(), offsetInPage, capacity, 0, NULL_ID, null);
        page.fileSizeMayChanged(offsetInPage + paddingRecord.headerSize());
        page.markDirty();
      }
      finally {
        page.unlock();
      }
    }
    finally {
      pagedStorage.unlockWrite();
    }
  }
@Override
  protected void putSpaceFillerRecord(final long recordOffset,
                                      final int pageSize)