There are two ways to create a reference from an old object to a young object.
有两种创建从老对象到年轻对象的引用的方法。
Either one of the references contained in an old object is modified to refer to a young object, or a young object that refers to other young objects is promoted into the older generation.
要么是将老对象中包含的引用修改为指向年轻对象,要么是将引用其他年轻对象的年轻对象提升为更老的一代。
应用推荐