WeakReferenced object is not garbage collected after calling System.gc()

后端 未结 2 557
北荒
北荒 2021-01-16 14:17

I am a fresh new learner of Java. I\'m now learning the concept of WeakReference. I came across a problem which probably looks stupid but I just wanna figure out the reason.

2条回答
提交回复
热议问题