Spill metric
A spill metric is a heuristic metric used by register allocators to decide which registers to spill. Popular spill metrics are: cost / degree - introduced in Chaitin's algorithmcost / degree2 - emphasizes the spill's effect on neighbourscost - emphasizes Run time (program [lifecycle phase)|run time]
- minimising number of spill operations