RFR: JDK-8296796: Provide clean, platform-agnostic interface to C-heap trimming [v2]

Thomas Stuefe stuefe at openjdk.org
Thu Nov 17 14:04:27 UTC 2022


On Thu, 17 Nov 2022 02:17:09 GMT, David Holmes <dholmes at 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


More information about the hotspot-dev mailing list