RFR: JDK-8293114: JVM should trim the native heap

Thomas Stuefe stuefe at openjdk.org
Thu Jul 6 12:24:55 UTC 2023


On Thu, 6 Jul 2023 12:20:10 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> src/hotspot/share/memory/arena.cpp line 105:
>> 
>>> 103:     }
>>> 104:     return true;
>>> 105:   }
>> 
>> Something seems wrong here? Having only empty pools means that `::prune()` is a no-op.
>
> Thanks for catching this.

All tests green though - somewhat scary that we don't have a test for that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14781#discussion_r1254358962


More information about the serviceability-dev mailing list