Normal, Soft, Weak, Phantom References in Java
/This article is just for self-learning. Normal 强引用 final M m = new M(); m = null; This is usually how we define an object. Once m is reassigned to null, the original assigned new M() will be garbage collected. So, a normal reference object will be ...
Feb 2, 20233 min read16