[
https://issues.apache.org/jira/browse/HBASE-8135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605470#comment-13605470
]
nkeywal commented on HBASE-8135:
--------------------------------
There is an issue: with the unit tests, I've got a huge gap I do not explain:
Expected :80
Actual :168
2013-03-18 19:54:28,845 DEBUG [main] util.ClassSize(246): 0 row class [B
2013-03-18 19:54:28,845 DEBUG [main] util.ClassSize(246): 1 ts long
2013-03-18 19:54:28,846 DEBUG [main] util.ClassSize(246): 2 writeToWAL boolean
2013-03-18 19:54:28,846 DEBUG [main] util.ClassSize(246): 3 familyMap interface
java.util.NavigableMap
2013-03-18 19:54:28,846 DEBUG [main] util.ClassSize(246): 4 attributes
interface java.util.Map
2013-03-18 19:54:28,846 DEBUG [main] util.ClassSize(273): Primitives=9,
arrays=1, references(includes 2 for object overhead)=5, refSize 8, size=80,
prealign_size=73
Any hint?
> Mutation should implement HeapSize
> ----------------------------------
>
> Key: HBASE-8135
> URL: https://issues.apache.org/jira/browse/HBASE-8135
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 0.95.0, 0.96.0, 0.94.5
> Reporter: nkeywal
> Assignee: nkeywal
> Priority: Minor
> Fix For: 0.95.0, 0.96.0
>
> Attachments: 8135.v1.patch, 8135.v2.patch
>
>
> Code is there already.
> Doing so would allow to share some code when doing client side buffering.
> patch compiles locally, should not impact tests, but not tested locally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira