public void deallocate(int address) { int addr = address - 1; // real start of the block int size = memory[addr]; // size of the block // If possible, add to quick list. if (size < QLSIZE) { memory[addr + 1] = quickGet[size]; quickGet[size] = addr; return; } // Not quick, continue normal deallocation...