jmm模型中的gc处理是在堆中回收。

1.新对象出来以后,先尝试在eden中放下,放不下的时候,进行一次ygc,只会在eden中回收,

 posted on 2022-01-05 10:53  maobulijiaozi  阅读(59)  评论(0)    收藏  举报