java如何计算对象的大小

用jol工具

原文地址:https://www.cnblogs.com/panxuejun/p/5897078.html