hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lqjacklee (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15985) LightWeightGSet.computeCapacity() doesn't correctly account for CompressedOops
Date Thu, 06 Dec 2018 13:57:00 GMT

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

lqjacklee updated HADOOP-15985:
-------------------------------
    Attachment: HADOOP-15985-1.patch

> LightWeightGSet.computeCapacity() doesn't correctly account for CompressedOops
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-15985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15985
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Roman Leventov
>            Priority: Minor
>         Attachments: HADOOP-15985-1.patch
>
>
> In this line: [https://github.com/apache/hadoop/blob/a55d6bba71c81c1c4e9d8cd11f55c78f10a548b0/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/LightWeightGSet.java#L391],
instead of checking if the platform is 32- or 64-bit, it should check if Unsafe.ARRAY_OBJECT_INDEX_SCALE
is 4 or 8.
> The result is that on 64-bit platforms, when Compressed Oops are on, LightWeightGSet
is two times denser than it is configured to be.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message