RFR: 8330144: Revise os::free_memory() [v2]

Thomas Stuefe stuefe at openjdk.org
Wed Jul 17 08:44:52 UTC 2024


On Wed, 17 Jul 2024 07:49:23 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The comments above and coding looks okay to me. Will test it first in our CI . Are you sure there are no side effects or maybe 'bad' kernel versions where unwanted things occur when using madvice instead?

@MBaesken Reasonably sure. The same technique has been used by the glibc for C-heap trimming for a long time. Thanks for putting this into SAP's CI!

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

PR Comment: https://git.openjdk.org/jdk/pull/20080#issuecomment-2232763075


More information about the hotspot-dev mailing list