}
if (m_tileReaper != null) {
// TODO: do we need this?
synchronized ( this ) {
WeakReference weakKey = null;
Set keySet = m_imageMap.keySet();
Iterator it = keySet.iterator();
while (it.hasNext()) {
WeakReference ref = (WeakReference) it.next();
if (ref.get() == owner) {
weakKey = ref;
break;
}
}
// weakKey = (WeakReference) m_weakRefMap.get(owner);
if (weakKey == null) {
weakKey = new WeakReference( owner, m_tileReaper.getRefQ() );
// m_weakRefMap.put(owner, weakKey);
}
Set hashKeys = (HashSet) m_imageMap.get(weakKey);