[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: JDK-8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
From: Thomas Stuefe <stuefe () openjdk ! org>
Date: 2023-07-26 5:49:01
Message-ID: 2nAwHvW-D4-A0YvRmK0JrnbdQ3UGSKEGrtukl_V79BQ=.1038b025-56ea-41a9-9d16-95bd41ad39c9 () github ! com
[Download RAW message or body]
On Tue, 25 Jul 2023 06:28:16 GMT, Thomas Stuefe <stuefe@openjdk.org> wrote:
> Trivial patch.
>
> The test just fires `jcmd System.trim_native_heap`, but without preparing any \
> special memory allocation conditions. Typically, we end up firing the command when \
> VM initialization is done, and therefore end up trimming a lot of memory. But once \
> in a blue moon concurrent allocations may be ongoing, so we may not trim anything, \
> or even see increased RSS.
> The patch just loosens the success condition to succeed if the trim happened, \
> irregardless of how much memory had been trimmed.
This pull request has now been integrated.
Changeset: 117f42db
Author: Thomas Stuefe <stuefe@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/117f42dbe9a78bcf43bdf3873d5d86a19a9092d3
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: kevinw, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/15009
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic