Mercurial > hg > graal-jvmci-8
comparison src/share/tools/hsdis/README @ 3794:3e23978ea0c3
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
author | never |
---|---|
date | Wed, 06 Jul 2011 18:15:21 -0700 |
parents | c18cbe5936b8 |
children | 3be7439273c5 |
comparison
equal
deleted
inserted
replaced
3793:fe240d87c6ec | 3794:3e23978ea0c3 |
---|---|
73 will build the Win32 cross compiled version of hsdis based on 2.19.1. | 73 will build the Win32 cross compiled version of hsdis based on 2.19.1. |
74 | 74 |
75 * Installing | 75 * Installing |
76 | 76 |
77 Products are named like build/$OS-$LIBARCH/hsdis-$LIBARCH.so. You can | 77 Products are named like build/$OS-$LIBARCH/hsdis-$LIBARCH.so. You can |
78 install them on your LD_LIBRARY_PATH, or inside of your JRE next to | 78 install them on your LD_LIBRARY_PATH, or inside of your JRE/JDK. The |
79 $LIBARCH/libjvm.so. | 79 search path in the JVM is: |
80 | |
81 1. <home>/jre/lib/<arch>/<vm>/libhsdis-<arch>.so | |
82 2. <home>/jre/lib/<arch>/<vm>/hsdis-<arch>.so | |
83 3. <home>/jre/lib/<arch>/hsdis-<arch>.so | |
84 4. hsdis-<arch>.so (using LD_LIBRARY_PATH) | |
85 | |
86 Note that there's a bug in hotspot versions prior to hs22 that causes | |
87 steps 2 and 3 to fail when used with JDK7. | |
80 | 88 |
81 Now test: | 89 Now test: |
82 | 90 |
83 export LD_LIBRARY_PATH .../hsdis/build/$OS-$LIBARCH:$LD_LIBRARY_PATH | 91 export LD_LIBRARY_PATH .../hsdis/build/$OS-$LIBARCH:$LD_LIBRARY_PATH |
84 dargs='-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly' | 92 dargs='-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly' |