src/share/tools/hsdis/README

changeset 2991
3e23978ea0c3
parent 1907
c18cbe5936b8
child 3058
3be7439273c5
equal deleted inserted replaced
2990:fe240d87c6ec 2991: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'

mercurial