1. A method for run-time tracking of object references in computer code comprising: creating a bit vector in computer memory, said bit vector having at least one bit; assigning a bit within said bit vector for each ambiguously typed variable; maintaining said bit dynamically during code execution to indicate whether said variable is assigned a reference value; and scanning said bit vector during garbage collection to determine which ambiguously typed variables contain reference values.