int sizeClass = getSizeClass(bytes); VM_Address cell = freeList.get(sizeClass); if (!cell.isZero()) { cellsInUse[sizeClass]++; freeList.set(sizeClass, getNextCell(cell)); postAlloc(cell, currentBlock.get(sizeClass), sizeClass, bytes); Memory.zeroSmall(cell, bytes);
VM_Address cell = allocFast(isScalar, bytes); if (cell.isZero()) return allocSlow(isScalar, bytes); else
  public final VM_Address alloc(boolean isScalar, EXTENT bytes)     throws VM_PragmaInline {    if (FRAGMENTATION_CHECK)      bytesAlloc += bytes;    int sizeClass = getSizeClass(bytes);    VM_Address cell = freeList.get(sizeClass);    if (!cell.isZero()) {      cellsInUse[sizeClass]++;      freeList.set(sizeClass, getNextCell(cell));      postAlloc(cell, currentBlock.get(sizeClass), sizeClass, bytes);      Memory.zeroSmall(cell, bytes);      return cell;    } else      return allocFromNextFreeList(isScalar, bytes, sizeClass);  }