RFR: 8318817: Could not reserve enough space in CodeHeap 'profiled nmethods' (0K) [v2]

Daniel Lundén duke at openjdk.org
Mon Oct 30 16:25:32 UTC 2023


On Mon, 30 Oct 2023 15:33:14 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> I am not sure, which is why I took the safe route and also included `os::vm_page_size()`. Maybe @jdksjolen knows if what Roberto suggests is a safe assumption?
>
> Hi,
> 
> I don't know, reading the code suggests that `ReservedCodeCacheSize/8` will determine whether `ps` can be smaller than `os::vm_page_size()` or not.

@tstuefe: @dafedafe recommended that we ask you for advice on the above (possibly related to https://github.com/openjdk/jdk/pull/14903/). Do you know the details?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16373#discussion_r1376496011


More information about the hotspot-compiler-dev mailing list