question: check whether to keep the monitoring thread alive , i.e. whether there are still entries being tracked . concode_field_sep ReferenceQueue<Object> handleQueue concode_elem_sep Thread monitoringThread concode_elem_sep Log logger concode_elem_sep Map<Reference<?>,ReleaseListener> trackedEntries concode_field_sep ReleaseListener removeEntry concode_elem_sep void addEntry concode_elem_sep void monitor concode_elem_sep void run concode_elem_sep void released
target: boolean function ( ) { synchronized ( WeakReferenceMonitor . class ) { if ( ! trackedEntries . isEmpty ( ) ) { return true ; } else { logger . debug ( "srini_string" ) ; monitoringThread = null ; return false ; } } }