RFR: JDK-8311285: report some fontconfig related environment variables in hs_err file
David Holmes
dholmes at openjdk.org
Wed Jul 5 02:57:04 UTC 2023
On Tue, 4 Jul 2023 11:47:49 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> There are a number of important environment variables influencing how fontconfig works.
> See for example
> https://man.archlinux.org/man/fonts-conf.5
> Some of them should be added to the list of reported environment variables in hs_err file because e.g. a bad setting for some of them can even lead sometimes to crashes.
src/hotspot/share/utilities/vmError.cpp line 109:
> 107: "PATH", "USERNAME",
> 108:
> 109: // UNIX platforms, fontconfig related
The XDG values are not specifically fontconfig related.
src/hotspot/share/utilities/vmError.cpp line 110:
> 108:
> 109: // UNIX platforms, fontconfig related
> 110: "XDG_CACHE_HOME", "XDG_CONFIG_HOME", "FC_LANG",
This seems a very limited selection - why only these three? (And I find it hard to imagine how these particular ones might lead to crashes - FONTCONFIG_USE_MMAP seems much more interesting in that regard).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14767#discussion_r1252483039
PR Review Comment: https://git.openjdk.org/jdk/pull/14767#discussion_r1252483744
More information about the hotspot-dev
mailing list