aboutsummaryrefslogtreecommitdiff
path: root/src/share/tools
diff options
context:
space:
mode:
authornever <none@none>2011-07-06 18:15:21 -0700
committernever <none@none>2011-07-06 18:15:21 -0700
commitf0c3d2f36f12280c83c06cdef1b3a0375db37995 (patch)
treeaa78f75b7b73082bba5bc86c33efc5fbab41dc40 /src/share/tools
parentc7c8c3e787a3de6a0ed1db8fefc2499bf9408429 (diff)
downloadjdk8u_hotspot-f0c3d2f36f12280c83c06cdef1b3a0375db37995.tar.gz
7062856: Disassembler needs to be smarter about finding hsdis after 1.7 launcher changes
Summary: do explicit lookup emulating old LD_LIBRARY_PATH search Reviewed-by: kvn, jrose
Diffstat (limited to 'src/share/tools')
-rw-r--r--src/share/tools/hsdis/README12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/share/tools/hsdis/README b/src/share/tools/hsdis/README
index fcfa8b489..f7eb8b8e2 100644
--- a/src/share/tools/hsdis/README
+++ b/src/share/tools/hsdis/README
@@ -75,8 +75,16 @@ will build the Win32 cross compiled version of hsdis based on 2.19.1.
* 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 next to
-$LIBARCH/libjvm.so.
+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
+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: