Ensure WeakRef object can't be prematurely gc'd Reviewed-by: chegar, plevart
Catch OutOfMemoryError in reference handler thread if caused by allocation of an InterruptedException Reviewed-by: dholmes, alanb