equal
deleted
inserted
replaced
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' |