RFR [XS] 8210964: add more ld preloading info to hs_error file on Linux

Baesken, Matthias matthias.baesken at sap.com
Fri Sep 21 09:13:10 UTC 2018


Hello , please review this small patch .

It adds more information  about  pre-loading configs  of libs on Linux  (often used for  monitoring tools).

Currently the hs_err file contains  already the LD_PRELOAD environment variable.
However for system wide configuration, the /etc/ld.so.preload file is important as well on Linux. So display it as well (in case it is present).

See the  Environment / LD_PRELOAD   and FILES   sections of :

http://man7.org/linux/man-pages/man8/ld.so.8.html

for more information .



Bug/webrev :

https://bugs.openjdk.java.net/browse/JDK-8210964

http://cr.openjdk.java.net/~mbaesken/webrevs/8210964.0/


Thanks, Matthias


More information about the hotspot-dev mailing list