docs: public void allocateSegments(int numberOfSegments) {
  		while (getBlockCount() < numberOfSegments) {
  			MemorySegment next = this.availableMemory.nextSegment();
  			if (next != null) {
  				this.partitionPages.add(next);
  			} else {
  				return;
  			}
  		}
  	}