[PATCH] hsdis installation documentation update

Sergei Ustimenko merkel05 at gmail.com
Wed Jan 2 01:02:00 UTC 2019


David,

Change looks great, thanks for taking care of it!

Cheers,
Sergei

On Wed, Jan 2, 2019, 01:57 David Holmes <david.holmes at oracle.com wrote:

> Hi Sergei,
>
> I've filed:
>
> https://bugs.openjdk.java.net/browse/JDK-8215977
>
> for this. (Not sure what subcomponent it really belongs to). I've also
> hosted the patch at:
>
> http://cr.openjdk.java.net/~dholmes/8215977/webrev/
>
> Please check it and I'll sponsor the change.
>
> Thanks,
> David
>
> On 2/01/2019 9:39 am, Sergei Ustimenko wrote:
> > Hi David,
> >
> > On Tue, Jan 1, 2019, 23:55 David Holmes <david.holmes at oracle.com
> > <mailto:david.holmes at oracle.com> wrote:
> >
> >     Hi Sergei,
> >
> >     On 31/12/2018 8:42 am, Sergei Ustimenko wrote:
> >      > Hi David,
> >      >
> >      >  > "server" should still say <vm>. While most platforms only have
> >     sevrer VM
> >      >  > these days some do still have client and there is also minimal
> VM
> >      >
> >      > Ah, right. I though there are no client VMs out there already.
> >      > I've updated the patch, hope it is good now.
> >      >
> >      >
> >      > diff --git a/src/utils/hsdis/README b/src/utils/hsdis/README
> >      > --- a/src/utils/hsdis/README
> >      > +++ b/src/utils/hsdis/README
> >      > @@ -114,18 +114,16 @@
> >      >
> >      >   * Installing
> >      >
> >      > -Products are named like build/$OS-$LIBARCH/hsdis-$LIBARCH.so.
> >     You can
> >      > -install them on your LD_LIBRARY_PATH, or inside of your
> >     JRE/JDK.  The
> >      > -search path in the JVM is:
> >      > -
> >      > -1. <home>/jre/lib/<arch>/<vm>/libhsdis-<arch>.so
> >      > -2. <home>/jre/lib/<arch>/<vm>/hsdis-<arch>.so
> >      > -3. <home>/jre/lib/<arch>/hsdis-<arch>.so
> >      > +Products are named like build/$OS-$LIBARCH/hsdis-$LIBARCH.so.
> >     You can
> >      > +install them next to your libjvm.so inside JRE/JDK or
> alternatively
> >      > +put it anywhere on your LD_LIBRARY_PATH. JVM looks up several
> paths
> >      > +derived from libjvm.so in the following order:
> >
> >     For this last part I think you should keep the original text:
> >
> >
> > Sure, I just want to make sure libjvm.so is mentioned at all
> >
> >
> >     "The search path in the JVM is:"
> >
> >     The new text isn't quite grammatically correct, nor do I see the
> >     relevance of "derived from libjvm.so" given that the paths are not
> >     relative to the location of libjvm.so.
> >
> >     Thanks,
> >     David
> >
> >      > +
> >      > +1. <home>/lib/<vm>/libhsdis-<arch>.so
> >      > +2. <home>/lib/<vm>/hsdis-<arch>.so
> >      > +3. <home>/lib/hsdis-<arch>.so
> >      >   4. hsdis-<arch>.so  (using LD_LIBRARY_PATH)
> >      >
> >      > -Note that there's a bug in hotspot versions prior to hs22 that
> >     causes
> >      > -steps 2 and 3 to fail when used with JDK7.
> >      > -
> >      >   Now test:
> >      >
> >      >     export LD_LIBRARY_PATH
> >     .../hsdis/build/$OS-$LIBARCH:$LD_LIBRARY_PATH
> >      >
> >      >
> >      >
> >      > Thanks,
> >      > Sergei
> >
> >
> > Thanks,
> > Sergei
> >
>


More information about the hotspot-dev mailing list