Duo Zhang created HBASE-24659: --------------------------------- Summary: Calcuate FIXED_OVERHEAD automatically Key: HBASE-24659 URL: https://issues.apache.org/jira/browse/HBASE-24659 Project: HBase Issue Type: Improvement Reporter: Duo Zhang
Now the FIXED_OVERHEAD in some classes are maintained manually, an we have a method to TestHeapSizes to confirm that the value is correct. But it is really hard for developers to count the fields in a complicated class like HRegion. Since we have the ability to calcuate the accurate size in UT, I think we it is also possible to calcuate it when loading the class. -- This message was sent by Atlassian Jira (v8.3.4#803005)