Integrated: 8244847: Linux/PPC: runtime/CompressedOops/CompressedClassPointers: smallHeapTest fails

Richard Reingruber rrich at openjdk.java.net
Thu Dec 3 08:52:57 UTC 2020


On Mon, 30 Nov 2020 09:01:20 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> This is an XS sized patch to get a zerobased compressed class space on
> Linux/PPC64 if a heap up to 2g size is configured and CDS is disabled.
> 
> On Linux 4.1.42 and higher we fail to get a zerobased CCS because just one
> attempt is made to place the CCS right after the heap which will be at 4g
> (ELF_ET_DYN_BASE) but there the java launcher is already mapped.
> 
> This change reuses the search already implemented for AARCH64.
> 
>                   Master without Fix                               Master with Fix
> 
> -Xmx   Narrow klass base     Compressed Class Space    Narrow klass base     Compressed Class Space
> ----------------------------------------------------------------------------------------------------
> 512m   0x00007fff00000000 !  0x00007fff00000000        0x0000000000000000    0x0000000200000000
>   1g   0x00007fff14000000 !  0x00007fff14000000        0x0000000000000000    0x0000000200000000
>   2g   0x00007fff30000000 !  0x00007fff30000000        0x0000000000000000    0x0000000200000000
>   3g   0x0000000000000000    0x00000007c0000000        0x0000000000000000    0x00000007c0000000
>   4g   0x0000000000000000    0x00000007c0000000        0x0000000000000000    0x00000007c0000000
>   8g   0x0000000000000000    0x00000007c0000000        0x0000000000000000    0x00000007c0000000
>  12g   0x0000000000000000    0x00000007c0000000        0x0000000000000000    0x00000007c0000000
>  16g   0x0000000000000000    0x00000007c0000000        0x0000000000000000    0x00000007c0000000
>  20g   0x0000000000000000    0x00000007c0000000        0x0000000000000000    0x00000007c0000000
>  24g   0x0000000000000000    0x00000007c0000000        0x0000000000000000    0x00000007c0000000
>  28g   0x0000001702000000    0x0000001702000000        0x0000001702000000    0x0000001702000000
>  32g   0x0000000000000000    0x0000000080000000        0x0000000000000000    0x0000000080000000
>  40g   0x0000000000000000    0x0000000080000000        0x0000000000000000    0x0000000080000000
>  48g   0x0000000000000000    0x0000000080000000        0x0000000000000000    0x0000000080000000

This pull request has now been integrated.

Changeset: 4a267f1b
Author:    Richard Reingruber <rrich at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4a267f1b
Stats:     16 lines in 2 files changed: 13 ins; 0 del; 3 mod

8244847: Linux/PPC: runtime/CompressedOops/CompressedClassPointers: smallHeapTest fails

Reviewed-by: stuefe, mdoerr

-------------

PR: https://git.openjdk.java.net/jdk/pull/1512


More information about the hotspot-runtime-dev mailing list