hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18389) Remove byte[] from sizeOf() of ClassSize, ClassSize.MemoryLayout and ClassSize.UnsafeLayout
Date Mon, 17 Jul 2017 03:54:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiang Li updated HBASE-18389:
-----------------------------
    Description: 
In ClassSize class and its internal static class, sizeOf() function has 2 formal parameters:
byte[] b and int len. But the function's internal logic does not use or refer to byte[] b.
Could be removed.



> Remove byte[] from sizeOf() of ClassSize, ClassSize.MemoryLayout and ClassSize.UnsafeLayout
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18389
>                 URL: https://issues.apache.org/jira/browse/HBASE-18389
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>            Reporter: Xiang Li
>            Assignee: Xiang Li
>            Priority: Minor
>
> In ClassSize class and its internal static class, sizeOf() function has 2 formal parameters:
byte[] b and int len. But the function's internal logic does not use or refer to byte[] b.
Could be removed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message