Withdrawn: 8320710: Adjust heap size when close to compressed oops limit
duke
duke at openjdk.org
Tue Mar 12 19:34:19 UTC 2024
On Fri, 24 Nov 2023 17:31:32 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:
> When the heap is between 0 and 2% larger than the compressed oops limit, lower it enough to enable compressed oops. See [issue](https://bugs.openjdk.org/browse/JDK-8320710) for more details.
>
> This is just one way of doing it to show the idea, any other ideas welcome.
>
> Before:
>
> java -Xmx32G -XX:+UseCompressedOops -version
> OpenJDK 64-Bit Server VM warning: Max heap size too large for Compressed Oops
>
> After:
>
> java -Xmx32G -XX:+UseCompressedOops -version
> OpenJDK 64-Bit Server VM warning: Heap size lowered from 32G to 32256M to accommodate Compressed Oops
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/16813
More information about the hotspot-runtime-dev
mailing list