code: private void processQueue()
      {
          CacheEntry sv;
          while((sv = (CacheEntry) queue.poll()) != null)
          {
              sessionCache.remove(sv.oid);
          }
      }
docs: Make sure that the Identity objects of garbage collected cached
  objects are removed too.