Wan Kun created SPARK-53966:
-------------------------------

             Summary: 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


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