Integrated: JDK-8282382: Report glibc malloc tunables in error reports
Thomas Stuefe
stuefe at openjdk.java.net
Sat Mar 5 06:41:08 UTC 2022
On Fri, 25 Feb 2022 07:33:55 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> On Linux/glibc platforms, the hs-err file should report the malloc tunables, or at least MALLOC_ARENA_MAX, since that one can have a significant effect on footprint or malloc contention for a VM.
>
> This patch adds this printout as a one-liner into hs-err files and jcmd VM.info reports:
>
>
> Process Memory:
> ...
> glibc malloc tunables: MALLOC_PERTURB_=40, MALLOC_ARENA_MAX=1
>
>
> If the tunables are default, we print `glibc malloc tunables: (default)`.
>
>
> Thanks, Thomas
This pull request has now been integrated.
Changeset: bc42e7cb
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/bc42e7cbbfd586308338bfdf535c4fcab0cdbc48
Stats: 40 lines in 1 file changed: 33 ins; 0 del; 7 mod
8282382: Report glibc malloc tunables in error reports
Reviewed-by: zgu, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/7620
More information about the hotspot-runtime-dev
mailing list