On Thu, 10 Nov 2022 13:23:34 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:
> This is a breakout from > [JDK-8293114](https://bugs.openjdk.org/browse/JDK-8293114), which is starved > for reviews. So I attempt to break up that fix into smaller units which are > hopefully easier to review separately. > > We can trim the C-heap manually using jcmd since > [JDK-8268893](https://bugs.openjdk.org/browse/JDK-8268893). This patch > reshapes this code, cleaning it up in an OS-agnostic way. That will allow us > to add implementions for other platforms (I have this on my list for AIX at > least) and make review of 8293114 easier. This pull request has now been integrated. Changeset: 0845b39c Author: Thomas Stuefe <stu...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/0845b39caf6f04dca9cb7a5852f05b4b5ffbc034 Stats: 141 lines in 10 files changed: 89 ins; 34 del; 18 mod 8296796: Provide clean, platform-agnostic interface to C-heap trimming Reviewed-by: dholmes, rkennke ------------- PR: https://git.openjdk.org/jdk/pull/11089