RFR: JDK-8311285: report some fontconfig related environment variables in hs_err file

Matthias Baesken mbaesken at openjdk.org
Thu Jul 6 07:58:54 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.

Hi David, 

> Would it be better to dump the entire environment to a file along-side the hs_err file?

I am fine with this idea.
However I am not sure if this is the policy of the OpenJDK.  If you print everything, maybe some application dependent variables show up as well that have nothing to do with the JVM at all.   For example in my environment on my Windows laptop, there would be environment variables about OneDrive and about Perforce SCM, not sure if we want to print those.

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

PR Comment: https://git.openjdk.org/jdk/pull/14767#issuecomment-1623168412


More information about the hotspot-dev mailing list