xcangCRM commented on issue #796: HBASE-23251 - Add Column Family and Table Names to HFileContext and u… URL: https://github.com/apache/hbase/pull/796#issuecomment-550478537 From test result, it shows: expected:<96> but was:<56> Meaning, ClassSize.estimateBase(HFileContext.class, false); returns 96 -- this is changed after this patch. and HFileContext.FIXED_OVERHEAD; returns 52 ---This has not changed. So, one byte[] takes 20 more bytes in classSize estimateBase()? I also found this test is just verifying the alrogithm of ClassSize.estimateBase() What's the purpose of this? maybe original author @openinx can shed some lights on it? thanks!
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services