RFR [XS] : 8210961: [aix] enhance list of environment variables reported in error log file on AIX

Thomas Stüfe thomas.stuefe at gmail.com
Mon Sep 24 11:06:27 UTC 2018


Interesting. Thank you for clarifying. In that case, I think the patch is
fine.

Best Regards, Thomas

On Mon, Sep 24, 2018, 10:21 Baesken, Matthias <matthias.baesken at sap.com>
wrote:

> > You mean, starting 32bit AIX binaries from our 64bit jvm? Is this even
> > possible?
>
>
> Yes , it is possible to  start  32bit executables  (e.g. via
> ProcessBuilder)  from Java   on AIX .
> Would be bad if it would not be possible -  because a lot  of  system
> commands (like /usr/bin/pwd)  are 32bit .
> At least this is what  dump  shows we when looking at the  executables
> in  /usr/bin   on an AIX 7.1   server .
>
>
> Best regards, Matthias
>
>
>
> > -----Original Message-----
> > From: Thomas Stüfe <thomas.stuefe at gmail.com>
> > Sent: Freitag, 21. September 2018 21:08
> > To: Baesken, Matthias <matthias.baesken at sap.com>
> > Cc: Volker Simonis <volker.simonis at gmail.com>; HotSpot Open Source
> > Developers <hotspot-dev at openjdk.java.net>
> > Subject: Re: RFR [XS] : 8210961: [aix] enhance list of environment
> variables
> > reported in error log file on AIX
> >
> > Hi Matthias,
> >
> > On Fri, Sep 21, 2018 at 8:54 AM, Baesken, Matthias
> > <matthias.baesken at sap.com> wrote:
> > > Hi Volker, sure  the LDR_PRELOAD might not be so important any more
> > these days .
> > > However it might be  fine to have it included in the list of
> environment
> > variables for the sake of completeness ( in it is maybe of interest in
> cases
> > where we start
> > >    other  (32bit) binaries  from java ).
> > >
> >
> > You mean, starting 32bit AIX binaries from our 64bit jvm? Is this even
> > possible?
> >
> > Best Regards, Thomas
> >
> > > Best regards, Matthias
> > >
> > >
> > >
> > >> -----Original Message-----
> > >> From: Volker Simonis <volker.simonis at gmail.com>
> > >> Sent: Donnerstag, 20. September 2018 17:41
> > >> To: Baesken, Matthias <matthias.baesken at sap.com>
> > >> Cc: HotSpot Open Source Developers <hotspot-dev at openjdk.java.net>
> > >> Subject: Re: RFR [XS] : 8210961: [aix] enhance list of environment
> > variables
> > >> reported in error log file on AIX
> > >>
> > >> Hi Matthias,
> > >>
> > >> looks good!
> > >>
> > >> Do we really need LDR_PRELOAD? The documentation you've linked
> > >> mentions that it is only used for 32-bit process which we don't
> > >> support anyway.
> > >>
> > >> I think it may be better to leave it out completely, otherwise people
> > >> may get confused if they see that LDR_PRELOAD was defined.
> > >>
> > >> Thank you and best regards,
> > >> Volker
> > >>
> > >> On Thu, Sep 20, 2018 at 2:13 PM Baesken, Matthias
> > >> <matthias.baesken at sap.com> wrote:
> > >> >
> > >> > Hello,  Please review this small  enhancement.
> > >> >
> > >> > It adds  these  AIX-related  environment variables to the already
> existing
> > list
> > >> of environment variables that should be reported in error log file
> (hs_err
> > file)
> > >> :
> > >> >
> > >> > LIBPATH  :   environment variable to locate shared libraries  ,  see
> > >>
> > https://www.ibm.com/support/knowledgecenter/en/SSYKE2_7.1.0/com.ib
> > >> m.java.aix.71.doc/user/setlpath.html
> > >> >
> > >> > LDR_PRELOAD / LDR_PRELOAD64  :  similar to LD_PRELOAD on Linux ,
> > see
> > >>
> > https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.
> > >> aix.performance/preloading_shared_libraries.htm
> > >> >
> > >> >
> > >> > http://cr.openjdk.java.net/~mbaesken/webrevs/8210961/
> > >> >
> > >> > bug :  https://bugs.openjdk.java.net/browse/JDK-8210961
> > >> >
> > >> >
> > >> > Thanks, Matthias
>


More information about the hotspot-dev mailing list