On Thu, 17 Nov 2022 02:17:09 GMT, David Holmes <dhol...@openjdk.org> wrote:
> I don't disagree that C-heap trimming is useful even if only Linux does it. > My objection is to defining a platform-agnostic API when only Linux does it. I see. It will allow us to use these APIs in shared code though, without having to use platform ifdefs. We do similar things for other platforms (e.g. see os::map_stack_shadow_pages). ------------- PR: https://git.openjdk.org/jdk/pull/11089