Computer Programming Software Terms, Glossary and Dictionary

Register Spilling

Register spilling occurs during a program compilation where there are more live variables than the register can hold. When a compiler is generating machine code and there are more live variables than the machine has registers, it has to transfer or "spill" some variables from registers to memory. This incurrs at certain cost, as access from memory is typically slower than access from a register.



Related Terms:

Register Spilling