question: private WeakReference < Object > newWeakReference ( ReferenceQueue < Object > queue ) { Object o = new Object ( ) ; WeakReference < Object > ref = new WeakReference < Object > ( o , queue ) ; assertSame ( o , ref . get ( ) ) ; return ref ; }
target:  Helper method to prevent live-precise bugs from interfering with analysis of what is reachable. Do not inline this method; otherwise tests may fail on VMs that are not live-precise. http://b/4191345