I would say yes, if the classloader is the same it then it can't be reclaimed by the GC during the check because we are already holding a reference to it. And it does change the behaviour of the cache...