Merge "Use getReferent() in enqueueSentinelReference to avoid race with GC."