equal
deleted
inserted
replaced
1 Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. |
1 Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 |
3 |
4 The Universal Permissive License (UPL), Version 1.0 |
4 The Universal Permissive License (UPL), Version 1.0 |
5 |
5 |
6 Subject to the condition set forth below, permission is hereby granted to |
6 Subject to the condition set forth below, permission is hereby granted to |
112 |
112 |
113 will build the Win32 cross compiled version of hsdis based on 2.31.1. |
113 will build the Win32 cross compiled version of hsdis based on 2.31.1. |
114 |
114 |
115 * Installing |
115 * Installing |
116 |
116 |
117 Products are named like build/$OS-$LIBARCH/hsdis-$LIBARCH.so. You can |
117 Products are named like build/$OS-$LIBARCH/hsdis-$LIBARCH.so. You can |
118 install them on your LD_LIBRARY_PATH, or inside of your JRE/JDK. The |
118 install them next to your libjvm.so inside your JRE/JDK or alternatively |
119 search path in the JVM is: |
119 put it anywhere on your LD_LIBRARY_PATH. The search path in the JVM is: |
120 |
120 |
121 1. <home>/jre/lib/<arch>/<vm>/libhsdis-<arch>.so |
121 1. <home>/lib/<vm>/libhsdis-<arch>.so |
122 2. <home>/jre/lib/<arch>/<vm>/hsdis-<arch>.so |
122 2. <home>/lib/<vm>/hsdis-<arch>.so |
123 3. <home>/jre/lib/<arch>/hsdis-<arch>.so |
123 3. <home>/lib/hsdis-<arch>.so |
124 4. hsdis-<arch>.so (using LD_LIBRARY_PATH) |
124 4. hsdis-<arch>.so (using LD_LIBRARY_PATH) |
125 |
|
126 Note that there's a bug in hotspot versions prior to hs22 that causes |
|
127 steps 2 and 3 to fail when used with JDK7. |
|
128 |
125 |
129 Now test: |
126 Now test: |
130 |
127 |
131 export LD_LIBRARY_PATH .../hsdis/build/$OS-$LIBARCH:$LD_LIBRARY_PATH |
128 export LD_LIBRARY_PATH .../hsdis/build/$OS-$LIBARCH:$LD_LIBRARY_PATH |
132 dargs='-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly' |
129 dargs='-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly' |