[
https://issues.apache.org/jira/browse/PHOENIX-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667441#comment-16667441
]
ASF GitHub Bot commented on PHOENIX-4998:
-----------------------------------------
Github user karanmehta93 commented on the issue:
https://github.com/apache/phoenix/pull/398
That makes sense. @BinShi-SecularBird
`Those Java equivalents of sizeof() in C/C++, mentioned on the Web, might
be overkilled here`
Can you provide some details on this comment?
> The estimated instance size of GuidePostsInfo doesn't count the last update
> timestamp array
> -------------------------------------------------------------------------------------------
>
> Key: PHOENIX-4998
> URL: https://issues.apache.org/jira/browse/PHOENIX-4998
> Project: Phoenix
> Issue Type: Bug
> Reporter: Bin Shi
> Assignee: Bin Shi
> Priority: Major
> Attachments: PHOENIX-4998.patch
>
>
> GuidePostsCache (implemented Guava Cache) use the estimated instance size of
> GuidePostsInfo as the weight of the cache entry. The bug results in the
> underestimation of the weight of the cache entry.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)