public void reset() {
   if (safeToReuse != null) {
     safeToReuse.clear();
   }
   objectsCacheOnWrite.clear();
   objectsCacheOnRead.clear();
   immutableCache.clear();
   objectIdOnCache = 0;
 }
 public void clear() {
   reuse.clear();
   safeToReuse.clear();
 }