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

Thomas Stuefe stuefe at openjdk.org
Thu Jul 6 10:49:55 UTC 2023


On Thu, 6 Jul 2023 10:08:03 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> I don't think the comments from my yesterday's review were addressed :) There are some old comments (marked with `(Outdated)`, helpfully), but some are new. Please take a look at them?

Of course, sorry. Seems I missed most of them.

About Pause in all VM ops, an alternative would be to just check in the trimmer if we are at safepoint, and if yes treat it as pause. I'll see if that's easier (I'm worried about pulling a mutex or atomic increasing the pauser variable in every VM op we run).

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

PR Comment: https://git.openjdk.org/jdk/pull/14781#issuecomment-1623455016


More information about the serviceability-dev mailing list