void () { VirtualFilePointerManager pointerManager = VirtualFilePointerManager.getInstance(); String url = TRACE_CREATION ? getUrl() : "?"; boolean shouldKill; if (pointerManager instanceof VirtualFilePointerManagerImpl) { shouldKill = ((VirtualFilePointerManagerImpl)pointerManager).decrementUsageCount(this); } else { shouldKill = incrementUsageCount(-1) == 0; } if (shouldKill) { kill("URL when die: " + url); } }