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

Dongjoon Hyun resolved SPARK-53966.
-----------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Issue resolved by pull request 52678
[https://github.com/apache/spark/pull/52678]

> Reduce default page size by LONG_ARRAY_OFFSET if ZGC and ON_HEAP are used
> -------------------------------------------------------------------------
>
>                 Key: SPARK-53966
>                 URL: https://issues.apache.org/jira/browse/SPARK-53966
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 4.1.0
>            Reporter: Wan Kun
>            Assignee: Wan Kun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> Both G1GC and ZGC needs extra object header (usually 16 bytes in 64bit 
> system) when allocating region or ZPage for java long array, so the really 
> bytes allocated is pageSize+16.
> So we need consider the object header when allocating spark pages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to