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

2022-11-13 Thread Thomas Stuefe
> 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](h

Re: RFR: 8296796: Provide clean, platform-agnostic interface to C-heap trimming

2022-11-13 Thread Thomas Stuefe
On Mon, 14 Nov 2022 01:35:35 GMT, David Holmes wrote: > This looks good for doing what it says, but I have to wonder whether it is > actually worthwhile doing this unless most OS/lib will support it? What will > the implementation be in AIX? I think C-Heap trimming is useful even if only Linux

Re: RFR: 8296796: Provide clean, platform-agnostic interface to C-heap trimming

2022-11-13 Thread David Holmes
On Thu, 10 Nov 2022 13:23:34 GMT, Thomas Stuefe 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 tri

Re: RFR: 8296796: Provide clean, platform-agnostic interface to C-heap trimming

2022-11-13 Thread Thomas Stuefe
On Thu, 10 Nov 2022 13:23:34 GMT, Thomas Stuefe 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 tri

Re: RFR: 8296796: Provide clean, platform-agnostic interface to C-heap trimming

2022-11-10 Thread Thomas Stuefe
On Thu, 10 Nov 2022 13:23:34 GMT, Thomas Stuefe 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 tri

RFR: 8296796: Provide clean, platform-agnostic interface to C-heap trimming

2022-11-10 Thread Thomas Stuefe
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.op