for (long i = 0; i < reqBlockCount; i++) {
for (int i = 0; i < reqBlockCount; i++) {
	static final Address allocateBlock(int blockSize) {		if (!initialized) {			initialize();		}		enter();		try {			// Calculate the number of blocks needed			final int reqBlockCount = (int)(blockAlign(blockSize, true) >>> BLOCK_SIZE_SHIFT);			// Find a large enough series of blocks			final long nr = findFreeBlocks(reqBlockCount);			if (nr == -1L) {				Unsafe.debug("ret null."); Unsafe.debug(blockSize);				Unsafe.debug("allocated blocks"); Unsafe.debug(allocatedBlocks);				Unsafe.die();				return null;			}			// Mark all blocks as in use			for (long i = 0; i < reqBlockCount; i++) {				setInUse(nr + i, true);			}			// Return the address of block "nr".			allocatedBlocks += reqBlockCount;			nextBlockNr = nr + reqBlockCount;			return Unsafe.longToAddress(startPtr + (nr << BLOCK_SIZE_SHIFT));		} finally {			exit();		}	}