log.trace("Removing " + entry.getKey() + " from cache");
}
}
else
{
centry.markForPassivation();
assert centry.isInUse() : centry + " is not in use, and thus will never be passivated";
}
// its ok to evict because it will be passivated
// or we determined above that we can remove it
it.remove();