Does setting Java objects to null do anything anymore?
It depends a bit on when you were thinking of nulling the reference. If you have an object chain A->B->C, then once A is not reachable, A, B and C will all be eligible for garbage collection (assuming nothing else is referring to either B or C). There’s no need, and never has been any … Read more