Wed, 26 Nov 2014 08:12:01 -0800
Merge
ohair@494 | 1 | #!/bin/bash |
ohair@494 | 2 | # |
ohair@494 | 3 | # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
ohair@494 | 4 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@494 | 5 | # |
ohair@494 | 6 | # This code is free software; you can redistribute it and/or modify it |
ohair@494 | 7 | # under the terms of the GNU General Public License version 2 only, as |
ohair@494 | 8 | # published by the Free Software Foundation. |
ohair@494 | 9 | # |
ohair@494 | 10 | # This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@494 | 11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@494 | 12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@494 | 13 | # version 2 for more details (a copy is included in the LICENSE file that |
ohair@494 | 14 | # accompanied this code). |
ohair@494 | 15 | # |
ohair@494 | 16 | # You should have received a copy of the GNU General Public License version |
ohair@494 | 17 | # 2 along with this work; if not, write to the Free Software Foundation, |
ohair@494 | 18 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@494 | 19 | # |
ohair@494 | 20 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@494 | 21 | # or visit www.oracle.com if you need additional information or have any |
ohair@494 | 22 | # questions. |
ohair@494 | 23 | # |
ohair@494 | 24 | |
ohair@494 | 25 | # This script is not to be run as stand-alone, it should be included from |
ohair@494 | 26 | # compare.sh. |
ohair@494 | 27 | |
ohair@494 | 28 | ########################################################################################## |
ohair@494 | 29 | # Check that we are run via inclusion from compare.sh and not as stand-alone. |
ohair@494 | 30 | if [ -z "$COMPARE_EXCEPTIONS_INCLUDE" ]; then |
ohair@494 | 31 | echo "Error: This script should not be run as stand-alone. It is included by compare.sh" |
ohair@494 | 32 | exit 1 |
ohair@494 | 33 | fi |
ohair@494 | 34 | |
ohair@494 | 35 | ########################################################################################## |
ohair@494 | 36 | # Diff exceptions |
ohair@494 | 37 | |
ohair@494 | 38 | if [ "$OPENJDK_TARGET_OS" = "linux" ] && [ "$OPENJDK_TARGET_CPU" = "x86" ]; then |
ohair@494 | 39 | |
ohair@494 | 40 | STRIP_BEFORE_COMPARE=" |
ohair@494 | 41 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 42 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 43 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 44 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 45 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 46 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 47 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 48 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 49 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 50 | " |
ohair@494 | 51 | |
ohair@494 | 52 | ACCEPTED_BIN_DIFF=" |
ohair@494 | 53 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 54 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 55 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 56 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 57 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 58 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 59 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 60 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 61 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 62 | ./jre/lib/i386/client/libjvm.so |
ohair@494 | 63 | ./jre/lib/i386/libattach.so |
ohair@494 | 64 | ./jre/lib/i386/libdt_socket.so |
ohair@494 | 65 | ./jre/lib/i386/libhprof.so |
ohair@494 | 66 | ./jre/lib/i386/libinstrument.so |
ohair@494 | 67 | ./jre/lib/i386/libjava_crw_demo.so |
ohair@494 | 68 | ./jre/lib/i386/libjsdt.so |
ohair@494 | 69 | ./jre/lib/i386/libmanagement.so |
ohair@494 | 70 | ./jre/lib/i386/libnpt.so |
ohair@494 | 71 | ./jre/lib/i386/libverify.so |
ohair@494 | 72 | ./jre/lib/i386/server/libjvm.so |
ohair@494 | 73 | ./bin/appletviewer |
ohair@494 | 74 | ./bin/extcheck |
ohair@494 | 75 | ./bin/idlj |
ohair@494 | 76 | ./bin/jar |
ohair@494 | 77 | ./bin/jarsigner |
ohair@494 | 78 | ./bin/java |
ohair@494 | 79 | ./bin/javac |
ohair@494 | 80 | ./bin/javadoc |
ohair@494 | 81 | ./bin/javah |
ohair@494 | 82 | ./bin/javap |
mchung@552 | 83 | ./bin/jdeps |
ohair@494 | 84 | ./bin/jcmd |
ohair@494 | 85 | ./bin/jconsole |
ohair@494 | 86 | ./bin/jdb |
ohair@494 | 87 | ./bin/jhat |
ohair@494 | 88 | ./bin/jinfo |
ohair@494 | 89 | ./bin/jmap |
ohair@494 | 90 | ./bin/jps |
ohair@494 | 91 | ./bin/jrunscript |
ohair@494 | 92 | ./bin/jsadebugd |
ohair@494 | 93 | ./bin/jstack |
ohair@494 | 94 | ./bin/jstat |
ohair@494 | 95 | ./bin/jstatd |
ohair@494 | 96 | ./bin/keytool |
ohair@494 | 97 | ./bin/native2ascii |
ohair@494 | 98 | ./bin/orbd |
ohair@494 | 99 | ./bin/pack200 |
ohair@494 | 100 | ./bin/policytool |
ohair@494 | 101 | ./bin/rmic |
ohair@494 | 102 | ./bin/rmid |
ohair@494 | 103 | ./bin/rmiregistry |
ohair@494 | 104 | ./bin/schemagen |
ohair@494 | 105 | ./bin/serialver |
ohair@494 | 106 | ./bin/servertool |
ohair@494 | 107 | ./bin/tnameserv |
ohair@494 | 108 | ./bin/wsgen |
ohair@494 | 109 | ./bin/wsimport |
ohair@494 | 110 | ./bin/xjc |
ohair@494 | 111 | ./jre/bin/java |
ohair@494 | 112 | ./jre/bin/keytool |
ohair@494 | 113 | ./jre/bin/orbd |
ohair@494 | 114 | ./jre/bin/pack200 |
ohair@494 | 115 | ./jre/bin/policytool |
ohair@494 | 116 | ./jre/bin/rmid |
ohair@494 | 117 | ./jre/bin/rmiregistry |
ohair@494 | 118 | ./jre/bin/servertool |
ohair@494 | 119 | ./jre/bin/tnameserv |
ohair@494 | 120 | " |
ohair@494 | 121 | |
ohair@494 | 122 | fi |
ohair@494 | 123 | |
ohair@494 | 124 | if [ "$OPENJDK_TARGET_OS" = "linux" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ]; then |
ohair@494 | 125 | |
ohair@494 | 126 | STRIP_BEFORE_COMPARE=" |
ohair@494 | 127 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 128 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 129 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 130 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 131 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 132 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 133 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 134 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 135 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 136 | " |
ohair@494 | 137 | |
ohair@494 | 138 | ACCEPTED_BIN_DIFF=" |
ohair@494 | 139 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 140 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 141 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 142 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 143 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 144 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 145 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 146 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 147 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 148 | ./jre/lib/amd64/libattach.so |
ohair@494 | 149 | ./jre/lib/amd64/libdt_socket.so |
ohair@494 | 150 | ./jre/lib/amd64/libhprof.so |
ohair@494 | 151 | ./jre/lib/amd64/libinstrument.so |
ohair@494 | 152 | ./jre/lib/amd64/libjava_crw_demo.so |
ohair@494 | 153 | ./jre/lib/amd64/libjsdt.so |
ohair@494 | 154 | ./jre/lib/amd64/libjsig.so |
ohair@494 | 155 | ./jre/lib/amd64/libmanagement.so |
ohair@494 | 156 | ./jre/lib/amd64/libnpt.so |
ohair@494 | 157 | ./jre/lib/amd64/libsaproc.so |
ohair@494 | 158 | ./jre/lib/amd64/libverify.so |
ohair@494 | 159 | ./jre/lib/amd64/server/libjsig.so |
ohair@494 | 160 | ./jre/lib/amd64/server/libjvm.so |
ohair@494 | 161 | ./bin/appletviewer |
ohair@494 | 162 | ./bin/extcheck |
ohair@494 | 163 | ./bin/idlj |
ohair@494 | 164 | ./bin/jar |
ohair@494 | 165 | ./bin/jarsigner |
ohair@494 | 166 | ./bin/java |
ohair@494 | 167 | ./bin/javac |
ohair@494 | 168 | ./bin/javadoc |
ohair@494 | 169 | ./bin/javah |
ohair@494 | 170 | ./bin/javap |
mchung@552 | 171 | ./bin/jdeps |
ohair@494 | 172 | ./bin/jcmd |
ohair@494 | 173 | ./bin/jconsole |
ohair@494 | 174 | ./bin/jdb |
ohair@494 | 175 | ./bin/jhat |
ohair@494 | 176 | ./bin/jinfo |
ohair@494 | 177 | ./bin/jmap |
ohair@494 | 178 | ./bin/jps |
ohair@494 | 179 | ./bin/jrunscript |
ohair@494 | 180 | ./bin/jsadebugd |
ohair@494 | 181 | ./bin/jstack |
ohair@494 | 182 | ./bin/jstat |
ohair@494 | 183 | ./bin/jstatd |
ohair@494 | 184 | ./bin/keytool |
ohair@494 | 185 | ./bin/native2ascii |
ohair@494 | 186 | ./bin/orbd |
ohair@494 | 187 | ./bin/pack200 |
ohair@494 | 188 | ./bin/policytool |
ohair@494 | 189 | ./bin/rmic |
ohair@494 | 190 | ./bin/rmid |
ohair@494 | 191 | ./bin/rmiregistry |
ohair@494 | 192 | ./bin/schemagen |
ohair@494 | 193 | ./bin/serialver |
ohair@494 | 194 | ./bin/servertool |
ohair@494 | 195 | ./bin/tnameserv |
ohair@494 | 196 | ./bin/wsgen |
ohair@494 | 197 | ./bin/wsimport |
ohair@494 | 198 | ./bin/xjc |
ohair@494 | 199 | ./jre/bin/java |
ohair@494 | 200 | ./jre/bin/keytool |
ohair@494 | 201 | ./jre/bin/orbd |
ohair@494 | 202 | ./jre/bin/pack200 |
ohair@494 | 203 | ./jre/bin/policytool |
ohair@494 | 204 | ./jre/bin/rmid |
ohair@494 | 205 | ./jre/bin/rmiregistry |
ohair@494 | 206 | ./jre/bin/servertool |
ohair@494 | 207 | ./jre/bin/tnameserv |
ohair@494 | 208 | " |
ohair@494 | 209 | |
ohair@494 | 210 | fi |
ohair@494 | 211 | |
ohair@494 | 212 | if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86" ]; then |
ohair@494 | 213 | |
ohair@494 | 214 | STRIP_BEFORE_COMPARE=" |
ohair@494 | 215 | ./demo/jni/Poller/lib/libPoller.so |
ohair@494 | 216 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 217 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 218 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 219 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 220 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 221 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 222 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 223 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 224 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 225 | ./jre/lib/i386/jexec |
ohair@494 | 226 | " |
ohair@494 | 227 | |
ohair@494 | 228 | SORT_SYMBOLS=" |
ohair@494 | 229 | ./jre/lib/i386/client/libjvm.so |
ohair@494 | 230 | ./jre/lib/i386/libsaproc.so |
ohair@494 | 231 | ./jre/lib/i386/server/libjvm.so |
ohair@494 | 232 | " |
ohair@494 | 233 | |
ohair@494 | 234 | SKIP_BIN_DIFF="true" |
ohair@494 | 235 | |
ohair@494 | 236 | ACCEPTED_SMALL_SIZE_DIFF=" |
ohair@494 | 237 | ./demo/jni/Poller/lib/libPoller.so |
ohair@494 | 238 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 239 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 240 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 241 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 242 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 243 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 244 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 245 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 246 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 247 | ./jre/lib/i386/client/libjvm.so |
ohair@494 | 248 | ./jre/lib/i386/jli/libjli.so |
ohair@494 | 249 | ./jre/lib/i386/libJdbcOdbc.so |
ohair@494 | 250 | ./jre/lib/i386/libattach.so |
ohair@494 | 251 | ./jre/lib/i386/libawt.so |
ohair@494 | 252 | ./jre/lib/i386/libawt_headless.so |
ohair@494 | 253 | ./jre/lib/i386/libawt_xawt.so |
ohair@494 | 254 | ./jre/lib/i386/libdcpr.so |
ohair@494 | 255 | ./jre/lib/i386/libdt_socket.so |
ohair@494 | 256 | ./jre/lib/i386/libfontmanager.so |
ohair@494 | 257 | ./jre/lib/i386/libhprof.so |
ohair@494 | 258 | ./jre/lib/i386/libinstrument.so |
ohair@494 | 259 | ./jre/lib/i386/libj2gss.so |
ohair@494 | 260 | ./jre/lib/i386/libj2pcsc.so |
ohair@494 | 261 | ./jre/lib/i386/libj2pkcs11.so |
ohair@494 | 262 | ./jre/lib/i386/libj2ucrypto.so |
ohair@494 | 263 | ./jre/lib/i386/libjaas_unix.so |
ohair@494 | 264 | ./jre/lib/i386/libjava.so |
ohair@494 | 265 | ./jre/lib/i386/libjava_crw_demo.so |
ohair@494 | 266 | ./jre/lib/i386/libjawt.so |
ohair@494 | 267 | ./jre/lib/i386/libjdwp.so |
ohair@494 | 268 | ./jre/lib/i386/libjfr.so |
ohair@494 | 269 | ./jre/lib/i386/libjpeg.so |
ohair@494 | 270 | ./jre/lib/i386/libjsdt.so |
ohair@494 | 271 | ./jre/lib/i386/libjsound.so |
ohair@494 | 272 | ./jre/lib/i386/libkcms.so |
ohair@494 | 273 | ./jre/lib/i386/liblcms.so |
ohair@494 | 274 | ./jre/lib/i386/libmanagement.so |
ohair@494 | 275 | ./jre/lib/i386/libmlib_image.so |
ohair@494 | 276 | ./jre/lib/i386/libnet.so |
ohair@494 | 277 | ./jre/lib/i386/libnio.so |
ohair@494 | 278 | ./jre/lib/i386/libnpt.so |
ohair@494 | 279 | ./jre/lib/i386/libsctp.so |
ohair@494 | 280 | ./jre/lib/i386/libsplashscreen.so |
ohair@494 | 281 | ./jre/lib/i386/libsunec.so |
ohair@494 | 282 | ./jre/lib/i386/libsunwjdga.so |
ohair@494 | 283 | ./jre/lib/i386/libt2k.so |
ohair@494 | 284 | ./jre/lib/i386/libunpack.so |
ohair@494 | 285 | ./jre/lib/i386/libverify.so |
ohair@494 | 286 | ./jre/lib/i386/libzip.so |
erikj@502 | 287 | ./jre/lib/i386/libdeploy.so |
erikj@502 | 288 | ./jre/lib/i386/libjavaplugin.so |
erikj@502 | 289 | ./jre/lib/i386/libjavaplugin_jni.so |
erikj@502 | 290 | ./jre/lib/i386/libjavaplugin_nscp.so |
erikj@502 | 291 | ./jre/lib/i386/libjavaplugin_oji.so |
erikj@502 | 292 | ./jre/lib/i386/libnpjp2.so |
erikj@502 | 293 | ./jre/plugin/i386/ns4/libjavaplugin.so |
erikj@502 | 294 | ./jre/plugin/i386/ns7/libjavaplugin_oji.so |
ohair@494 | 295 | ./jre/lib/i386/server/libjvm.so |
erikj@519 | 296 | ./jre/lib/i386/client/64/libjvm_db.so |
erikj@519 | 297 | ./jre/lib/i386/client/64/libjvm_dtrace.so |
erikj@519 | 298 | ./jre/lib/i386/client/libjvm_db.so |
erikj@519 | 299 | ./jre/lib/i386/client/libjvm_dtrace.so |
erikj@519 | 300 | ./jre/lib/i386/server/64/libjvm_db.so |
erikj@519 | 301 | ./jre/lib/i386/server/64/libjvm_dtrace.so |
erikj@519 | 302 | ./jre/lib/i386/server/libjvm_db.so |
erikj@519 | 303 | ./jre/lib/i386/server/libjvm_dtrace.so |
ohair@494 | 304 | ./bin/appletviewer |
ohair@494 | 305 | ./bin/extcheck |
ohair@494 | 306 | ./bin/idlj |
ohair@494 | 307 | ./bin/jar |
ohair@494 | 308 | ./bin/jarsigner |
ohair@494 | 309 | ./bin/java |
ohair@494 | 310 | ./bin/javac |
ohair@494 | 311 | ./bin/javadoc |
ohair@494 | 312 | ./bin/javah |
ohair@494 | 313 | ./bin/javap |
mchung@552 | 314 | ./bin/jdeps |
erikj@502 | 315 | ./bin/javaws |
ohair@494 | 316 | ./bin/jcmd |
ohair@494 | 317 | ./bin/jconsole |
ohair@494 | 318 | ./bin/jdb |
ohair@494 | 319 | ./bin/jhat |
ohair@494 | 320 | ./bin/jinfo |
ohair@494 | 321 | ./bin/jmap |
ohair@494 | 322 | ./bin/jps |
ohair@494 | 323 | ./bin/jrunscript |
ohair@494 | 324 | ./bin/jsadebugd |
ohair@494 | 325 | ./bin/jstack |
ohair@494 | 326 | ./bin/jstat |
ohair@494 | 327 | ./bin/jstatd |
ohair@494 | 328 | ./bin/keytool |
ohair@494 | 329 | ./bin/native2ascii |
ohair@494 | 330 | ./bin/orbd |
ohair@494 | 331 | ./bin/pack200 |
ohair@494 | 332 | ./bin/policytool |
ohair@494 | 333 | ./bin/rmic |
ohair@494 | 334 | ./bin/rmid |
ohair@494 | 335 | ./bin/rmiregistry |
ohair@494 | 336 | ./bin/schemagen |
ohair@494 | 337 | ./bin/serialver |
ohair@494 | 338 | ./bin/servertool |
ohair@494 | 339 | ./bin/tnameserv |
ohair@494 | 340 | ./bin/unpack200 |
ohair@494 | 341 | ./bin/wsgen |
ohair@494 | 342 | ./bin/wsimport |
ohair@494 | 343 | ./bin/xjc |
ohair@494 | 344 | ./jre/bin/java |
erikj@502 | 345 | ./jre/bin/java_vm |
erikj@502 | 346 | ./jre/bin/javaws |
ohair@494 | 347 | ./jre/bin/keytool |
ohair@494 | 348 | ./jre/bin/orbd |
ohair@494 | 349 | ./jre/bin/pack200 |
ohair@494 | 350 | ./jre/bin/policytool |
ohair@494 | 351 | ./jre/bin/rmid |
ohair@494 | 352 | ./jre/bin/rmiregistry |
ohair@494 | 353 | ./jre/bin/servertool |
ohair@494 | 354 | ./jre/bin/tnameserv |
ohair@494 | 355 | ./jre/bin/unpack200 |
ohair@494 | 356 | ./jre/lib/i386/jexec |
ohair@494 | 357 | " |
ohair@494 | 358 | |
ohair@494 | 359 | SKIP_FULLDUMP_DIFF="true" |
ohair@494 | 360 | |
ohair@494 | 361 | # Filter random C++ symbol strings. |
erikj@519 | 362 | # Some numbers differ randomly. |
erikj@519 | 363 | # Can't use space in these expressions as the shell will mess with them. |
erikj@519 | 364 | DIS_DIFF_FILTER="$SED -e s/\.[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/\([0-9a-f][0-9a-f].\)\{2,8\}[0-9a-f][0-9a-f]/<NUMS>/g -e s/\(0x\)[0-9a-f]*\([,(>]\)/\1<HEX>\2/g -e s/\(0x\)[0-9a-f]*$/\1<HEX>/g -e s/\(\#.\)[0-9a-f]*\(.<\)/\1<HEX>\2/g -e s/[\.A-Za-z0-9%]\{16,16\}$/<BIN>/g" |
ohair@494 | 365 | |
ohair@494 | 366 | fi |
ohair@494 | 367 | |
ohair@494 | 368 | if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ]; then |
ohair@494 | 369 | |
ohair@494 | 370 | STRIP_BEFORE_COMPARE=" |
ohair@494 | 371 | ./demo/jni/Poller/lib/amd64/libPoller.so |
ohair@494 | 372 | ./demo/jvmti/compiledMethodLoad/lib/amd64/libcompiledMethodLoad.so |
ohair@494 | 373 | ./demo/jvmti/gctest/lib/amd64/libgctest.so |
ohair@494 | 374 | ./demo/jvmti/heapTracker/lib/amd64/libheapTracker.so |
ohair@494 | 375 | ./demo/jvmti/heapViewer/lib/amd64/libheapViewer.so |
ohair@494 | 376 | ./demo/jvmti/hprof/lib/amd64/libhprof.so |
ohair@494 | 377 | ./demo/jvmti/minst/lib/amd64/libminst.so |
ohair@494 | 378 | ./demo/jvmti/mtrace/lib/amd64/libmtrace.so |
ohair@494 | 379 | ./demo/jvmti/versionCheck/lib/amd64/libversionCheck.so |
ohair@494 | 380 | ./demo/jvmti/waiters/lib/amd64/libwaiters.so |
ohair@494 | 381 | " |
ohair@494 | 382 | |
ohair@494 | 383 | SORT_SYMBOLS=" |
ohair@494 | 384 | ./jre/lib/amd64/server/libjvm.so |
ohair@494 | 385 | ./jre/lib/amd64/libsaproc.so |
ohair@494 | 386 | " |
ohair@494 | 387 | |
ohair@494 | 388 | SKIP_BIN_DIFF="true" |
ohair@494 | 389 | |
ohair@494 | 390 | ACCEPTED_SMALL_SIZE_DIFF=" |
ohair@494 | 391 | ./demo/jni/Poller/lib/amd64/libPoller.so |
ohair@494 | 392 | ./demo/jvmti/compiledMethodLoad/lib/amd64/libcompiledMethodLoad.so |
ohair@494 | 393 | ./demo/jvmti/gctest/lib/amd64/libgctest.so |
ohair@494 | 394 | ./demo/jvmti/heapTracker/lib/amd64/libheapTracker.so |
ohair@494 | 395 | ./demo/jvmti/heapViewer/lib/amd64/libheapViewer.so |
ohair@494 | 396 | ./demo/jvmti/hprof/lib/amd64/libhprof.so |
ohair@494 | 397 | ./demo/jvmti/minst/lib/amd64/libminst.so |
ohair@494 | 398 | ./demo/jvmti/mtrace/lib/amd64/libmtrace.so |
ohair@494 | 399 | ./demo/jvmti/versionCheck/lib/amd64/libversionCheck.so |
ohair@494 | 400 | ./demo/jvmti/waiters/lib/amd64/libwaiters.so |
ohair@494 | 401 | ./jre/lib/amd64/jli/libjli.so |
ohair@494 | 402 | ./jre/lib/amd64/libJdbcOdbc.so |
ohair@494 | 403 | ./jre/lib/amd64/libattach.so |
ohair@494 | 404 | ./jre/lib/amd64/libawt.so |
ohair@494 | 405 | ./jre/lib/amd64/libawt_headless.so |
ohair@494 | 406 | ./jre/lib/amd64/libawt_xawt.so |
ohair@494 | 407 | ./jre/lib/amd64/libdcpr.so |
ohair@494 | 408 | ./jre/lib/amd64/libdt_socket.so |
ohair@494 | 409 | ./jre/lib/amd64/libfontmanager.so |
ohair@494 | 410 | ./jre/lib/amd64/libhprof.so |
ohair@494 | 411 | ./jre/lib/amd64/libinstrument.so |
ohair@494 | 412 | ./jre/lib/amd64/libj2gss.so |
ohair@494 | 413 | ./jre/lib/amd64/libj2pcsc.so |
ohair@494 | 414 | ./jre/lib/amd64/libj2pkcs11.so |
ohair@494 | 415 | ./jre/lib/amd64/libj2ucrypto.so |
ohair@494 | 416 | ./jre/lib/amd64/libjaas_unix.so |
ohair@494 | 417 | ./jre/lib/amd64/libjava.so |
ohair@494 | 418 | ./jre/lib/amd64/libjava_crw_demo.so |
ohair@494 | 419 | ./jre/lib/amd64/libjawt.so |
ohair@494 | 420 | ./jre/lib/amd64/libjdwp.so |
ohair@494 | 421 | ./jre/lib/amd64/libjfr.so |
ohair@494 | 422 | ./jre/lib/amd64/libjpeg.so |
ohair@494 | 423 | ./jre/lib/amd64/libjsdt.so |
ohair@494 | 424 | ./jre/lib/amd64/libjsound.so |
ohair@494 | 425 | ./jre/lib/amd64/libkcms.so |
ohair@494 | 426 | ./jre/lib/amd64/liblcms.so |
ohair@494 | 427 | ./jre/lib/amd64/libmanagement.so |
ohair@494 | 428 | ./jre/lib/amd64/libmlib_image.so |
ohair@494 | 429 | ./jre/lib/amd64/libnet.so |
ohair@494 | 430 | ./jre/lib/amd64/libnio.so |
ohair@494 | 431 | ./jre/lib/amd64/libnpt.so |
ohair@494 | 432 | ./jre/lib/amd64/libsctp.so |
ohair@494 | 433 | ./jre/lib/amd64/libsplashscreen.so |
ohair@494 | 434 | ./jre/lib/amd64/libsunec.so |
ohair@494 | 435 | ./jre/lib/amd64/libsunwjdga.so |
ohair@494 | 436 | ./jre/lib/amd64/libt2k.so |
ohair@494 | 437 | ./jre/lib/amd64/libunpack.so |
ohair@494 | 438 | ./jre/lib/amd64/libverify.so |
ohair@494 | 439 | ./jre/lib/amd64/libzip.so |
ohair@494 | 440 | ./jre/lib/amd64/server/64/libjvm_db.so |
ohair@494 | 441 | ./jre/lib/amd64/server/64/libjvm_dtrace.so |
erikj@519 | 442 | ./jre/lib/amd64/server/libjvm.so |
erikj@519 | 443 | ./jre/lib/amd64/server/libjvm_db.so |
erikj@519 | 444 | ./jre/lib/amd64/server/libjvm_dtrace.so |
ohair@494 | 445 | ./bin/amd64/appletviewer |
ohair@494 | 446 | ./bin/amd64/extcheck |
ohair@494 | 447 | ./bin/amd64/idlj |
ohair@494 | 448 | ./bin/amd64/jar |
ohair@494 | 449 | ./bin/amd64/jarsigner |
ohair@494 | 450 | ./bin/amd64/java |
ohair@494 | 451 | ./bin/amd64/javac |
ohair@494 | 452 | ./bin/amd64/javadoc |
ohair@494 | 453 | ./bin/amd64/javah |
ohair@494 | 454 | ./bin/amd64/javap |
mchung@552 | 455 | ./bin/amd64/jdeps |
ohair@494 | 456 | ./bin/amd64/jcmd |
ohair@494 | 457 | ./bin/amd64/jconsole |
ohair@494 | 458 | ./bin/amd64/jdb |
ohair@494 | 459 | ./bin/amd64/jhat |
ohair@494 | 460 | ./bin/amd64/jinfo |
ohair@494 | 461 | ./bin/amd64/jmap |
ohair@494 | 462 | ./bin/amd64/jps |
ohair@494 | 463 | ./bin/amd64/jrunscript |
ohair@494 | 464 | ./bin/amd64/jsadebugd |
ohair@494 | 465 | ./bin/amd64/jstack |
ohair@494 | 466 | ./bin/amd64/jstat |
ohair@494 | 467 | ./bin/amd64/jstatd |
ohair@494 | 468 | ./bin/amd64/keytool |
ohair@494 | 469 | ./bin/amd64/native2ascii |
ohair@494 | 470 | ./bin/amd64/orbd |
ohair@494 | 471 | ./bin/amd64/pack200 |
ohair@494 | 472 | ./bin/amd64/policytool |
ohair@494 | 473 | ./bin/amd64/rmic |
ohair@494 | 474 | ./bin/amd64/rmid |
ohair@494 | 475 | ./bin/amd64/rmiregistry |
ohair@494 | 476 | ./bin/amd64/schemagen |
ohair@494 | 477 | ./bin/amd64/serialver |
ohair@494 | 478 | ./bin/amd64/servertool |
ohair@494 | 479 | ./bin/amd64/tnameserv |
ohair@494 | 480 | ./bin/amd64/unpack200 |
ohair@494 | 481 | ./bin/amd64/wsgen |
ohair@494 | 482 | ./bin/amd64/wsimport |
ohair@494 | 483 | ./bin/amd64/xjc |
ohair@494 | 484 | ./jre/bin/amd64/java |
ohair@494 | 485 | ./jre/bin/amd64/keytool |
ohair@494 | 486 | ./jre/bin/amd64/orbd |
ohair@494 | 487 | ./jre/bin/amd64/pack200 |
ohair@494 | 488 | ./jre/bin/amd64/policytool |
ohair@494 | 489 | ./jre/bin/amd64/rmid |
ohair@494 | 490 | ./jre/bin/amd64/rmiregistry |
ohair@494 | 491 | ./jre/bin/amd64/servertool |
ohair@494 | 492 | ./jre/bin/amd64/tnameserv |
ohair@494 | 493 | ./jre/bin/amd64/unpack200 |
ohair@494 | 494 | ./jre/lib/amd64/jexec |
ohair@494 | 495 | " |
ohair@494 | 496 | |
ohair@494 | 497 | SKIP_FULLDUMP_DIFF="true" |
ohair@494 | 498 | |
ohair@494 | 499 | # Filter random C++ symbol strings. |
erikj@519 | 500 | # Some numbers differ randomly. |
erikj@519 | 501 | # Can't use space in these expressions as the shell will mess with them. |
erikj@519 | 502 | DIS_DIFF_FILTER="$SED -e s/\.[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/\([0-9a-f][0-9a-f].\)\{2,8\}[0-9a-f][0-9a-f]/<NUMS>/g -e s/\(0x\)[0-9a-f]*\([,(>]\)/\1<HEX>\2/g -e s/\(0x\)[0-9a-f]*$/\1<HEX>/g -e s/\(\#.\)[0-9a-f]*\(.<\)/\1<HEX>\2/g -e s/[\.A-Za-z0-9%]\{16,16\}$/<BIN>/g" |
ohair@494 | 503 | |
ohair@494 | 504 | fi |
ohair@494 | 505 | |
ohair@494 | 506 | if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparc" ]; then |
ohair@494 | 507 | |
ohair@494 | 508 | STRIP_BEFORE_COMPARE=" |
ohair@494 | 509 | ./demo/jni/Poller/lib/libPoller.so |
ohair@494 | 510 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 511 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 512 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 513 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 514 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 515 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 516 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 517 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 518 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 519 | ./jre/lib/sparc/jexec |
ohair@494 | 520 | " |
ohair@494 | 521 | |
ohair@494 | 522 | SORT_SYMBOLS=" |
ohair@494 | 523 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 524 | ./jre/lib/sparc/client/64/libjvm_db.so |
ohair@494 | 525 | ./jre/lib/sparc/client/64/libjvm_dtrace.so |
ohair@494 | 526 | ./jre/lib/sparc/client/libjsig.so |
ohair@494 | 527 | ./jre/lib/sparc/client/libjvm.so |
ohair@494 | 528 | ./jre/lib/sparc/client/libjvm_db.so |
ohair@494 | 529 | ./jre/lib/sparc/client/libjvm_dtrace.so |
ohair@494 | 530 | ./jre/lib/sparc/libjsig.so |
ohair@494 | 531 | ./jre/lib/sparc/libsaproc.so |
ohair@494 | 532 | ./jre/lib/sparc/server/64/libjvm_db.so |
ohair@494 | 533 | ./jre/lib/sparc/server/64/libjvm_dtrace.so |
ohair@494 | 534 | ./jre/lib/sparc/server/libjsig.so |
ohair@494 | 535 | ./jre/lib/sparc/server/libjvm.so |
ohair@494 | 536 | ./jre/lib/sparc/server/libjvm_db.so |
ohair@494 | 537 | ./jre/lib/sparc/server/libjvm_dtrace.so |
ohair@494 | 538 | " |
ohair@494 | 539 | |
ohair@494 | 540 | SKIP_BIN_DIFF="true" |
ohair@494 | 541 | |
ohair@494 | 542 | ACCEPTED_SMALL_SIZE_DIFF=" |
ohair@494 | 543 | ./demo/jni/Poller/lib/libPoller.so |
ohair@494 | 544 | ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
ohair@494 | 545 | ./demo/jvmti/gctest/lib/libgctest.so |
ohair@494 | 546 | ./demo/jvmti/heapTracker/lib/libheapTracker.so |
ohair@494 | 547 | ./demo/jvmti/heapViewer/lib/libheapViewer.so |
ohair@494 | 548 | ./demo/jvmti/hprof/lib/libhprof.so |
ohair@494 | 549 | ./demo/jvmti/minst/lib/libminst.so |
ohair@494 | 550 | ./demo/jvmti/mtrace/lib/libmtrace.so |
ohair@494 | 551 | ./demo/jvmti/versionCheck/lib/libversionCheck.so |
ohair@494 | 552 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 553 | ./jre/lib/sparc/client/libjvm.so |
ohair@494 | 554 | ./jre/lib/sparc/jli/libjli.so |
ohair@494 | 555 | ./jre/lib/sparc/libJdbcOdbc.so |
ohair@494 | 556 | ./jre/lib/sparc/libattach.so |
ohair@494 | 557 | ./jre/lib/sparc/libawt.so |
ohair@494 | 558 | ./jre/lib/sparc/libawt_headless.so |
ohair@494 | 559 | ./jre/lib/sparc/libawt_xawt.so |
ohair@494 | 560 | ./jre/lib/sparc/libdcpr.so |
ohair@494 | 561 | ./jre/lib/sparc/libdt_socket.so |
ohair@494 | 562 | ./jre/lib/sparc/libfontmanager.so |
ohair@494 | 563 | ./jre/lib/sparc/libhprof.so |
ohair@494 | 564 | ./jre/lib/sparc/libinstrument.so |
ohair@494 | 565 | ./jre/lib/sparc/libj2gss.so |
ohair@494 | 566 | ./jre/lib/sparc/libj2pcsc.so |
ohair@494 | 567 | ./jre/lib/sparc/libj2pkcs11.so |
ohair@494 | 568 | ./jre/lib/sparc/libj2ucrypto.so |
ohair@494 | 569 | ./jre/lib/sparc/libjaas_unix.so |
ohair@494 | 570 | ./jre/lib/sparc/libjava.so |
ohair@494 | 571 | ./jre/lib/sparc/libjava_crw_demo.so |
ohair@494 | 572 | ./jre/lib/sparc/libjawt.so |
ohair@494 | 573 | ./jre/lib/sparc/libjdwp.so |
ohair@494 | 574 | ./jre/lib/sparc/libjfr.so |
ohair@494 | 575 | ./jre/lib/sparc/libjpeg.so |
ohair@494 | 576 | ./jre/lib/sparc/libjsdt.so |
ohair@494 | 577 | ./jre/lib/sparc/libjsound.so |
ohair@494 | 578 | ./jre/lib/sparc/libkcms.so |
ohair@494 | 579 | ./jre/lib/sparc/liblcms.so |
ohair@494 | 580 | ./jre/lib/sparc/libmanagement.so |
ohair@494 | 581 | ./jre/lib/sparc/libmlib_image.so |
ohair@494 | 582 | ./jre/lib/sparc/libmlib_image_v.so |
ohair@494 | 583 | ./jre/lib/sparc/libnet.so |
ohair@494 | 584 | ./jre/lib/sparc/libnio.so |
ohair@494 | 585 | ./jre/lib/sparc/libnpt.so |
ohair@494 | 586 | ./jre/lib/sparc/libsctp.so |
ohair@494 | 587 | ./jre/lib/sparc/libsplashscreen.so |
ohair@494 | 588 | ./jre/lib/sparc/libsunec.so |
ohair@494 | 589 | ./jre/lib/sparc/libsunwjdga.so |
ohair@494 | 590 | ./jre/lib/sparc/libt2k.so |
ohair@494 | 591 | ./jre/lib/sparc/libunpack.so |
ohair@494 | 592 | ./jre/lib/sparc/libverify.so |
ohair@494 | 593 | ./jre/lib/sparc/libzip.so |
erikj@502 | 594 | ./jre/lib/sparc/libdeploy.so |
erikj@502 | 595 | ./jre/lib/sparc/libjavaplugin.so |
erikj@502 | 596 | ./jre/lib/sparc/libjavaplugin_jni.so |
erikj@502 | 597 | ./jre/lib/sparc/libjavaplugin_nscp.so |
erikj@502 | 598 | ./jre/lib/sparc/libjavaplugin_oji.so |
erikj@502 | 599 | ./jre/lib/sparc/libnpjp2.so |
erikj@502 | 600 | ./jre/plugin/sparc/ns4/libjavaplugin.so |
erikj@502 | 601 | ./jre/plugin/sparc/ns7/libjavaplugin_oji.so |
ohair@494 | 602 | ./jre/lib/sparc/server/libjvm.so |
ohair@494 | 603 | ./bin/appletviewer |
ohair@494 | 604 | ./bin/extcheck |
ohair@494 | 605 | ./bin/idlj |
ohair@494 | 606 | ./bin/jar |
ohair@494 | 607 | ./bin/jarsigner |
ohair@494 | 608 | ./bin/java |
ohair@494 | 609 | ./bin/javac |
ohair@494 | 610 | ./bin/javadoc |
ohair@494 | 611 | ./bin/javah |
ohair@494 | 612 | ./bin/javap |
mchung@552 | 613 | ./bin/jdeps |
erikj@502 | 614 | ./bin/javaws |
ohair@494 | 615 | ./bin/jcmd |
ohair@494 | 616 | ./bin/jconsole |
ohair@494 | 617 | ./bin/jdb |
ohair@494 | 618 | ./bin/jhat |
ohair@494 | 619 | ./bin/jinfo |
ohair@494 | 620 | ./bin/jmap |
ohair@494 | 621 | ./bin/jps |
ohair@494 | 622 | ./bin/jrunscript |
ohair@494 | 623 | ./bin/jsadebugd |
ohair@494 | 624 | ./bin/jstack |
ohair@494 | 625 | ./bin/jstat |
ohair@494 | 626 | ./bin/jstatd |
ohair@494 | 627 | ./bin/keytool |
ohair@494 | 628 | ./bin/native2ascii |
ohair@494 | 629 | ./bin/orbd |
ohair@494 | 630 | ./bin/pack200 |
ohair@494 | 631 | ./bin/policytool |
ohair@494 | 632 | ./bin/rmic |
ohair@494 | 633 | ./bin/rmid |
ohair@494 | 634 | ./bin/rmiregistry |
ohair@494 | 635 | ./bin/schemagen |
ohair@494 | 636 | ./bin/serialver |
ohair@494 | 637 | ./bin/servertool |
ohair@494 | 638 | ./bin/tnameserv |
ohair@494 | 639 | ./bin/unpack200 |
ohair@494 | 640 | ./bin/wsgen |
ohair@494 | 641 | ./bin/wsimport |
ohair@494 | 642 | ./bin/xjc |
ohair@494 | 643 | ./jre/bin/java |
erikj@502 | 644 | ./jre/bin/java_vm |
erikj@502 | 645 | ./jre/bin/javaws |
ohair@494 | 646 | ./jre/bin/keytool |
ohair@494 | 647 | ./jre/bin/orbd |
ohair@494 | 648 | ./jre/bin/pack200 |
ohair@494 | 649 | ./jre/bin/policytool |
ohair@494 | 650 | ./jre/bin/rmid |
ohair@494 | 651 | ./jre/bin/rmiregistry |
ohair@494 | 652 | ./jre/bin/servertool |
ohair@494 | 653 | ./jre/bin/tnameserv |
ohair@494 | 654 | ./jre/bin/unpack200 |
ohair@494 | 655 | ./jre/lib/sparc/jexec |
ohair@494 | 656 | " |
ohair@494 | 657 | |
ohair@494 | 658 | # Filter random C++ symbol strings. |
ohair@494 | 659 | # Some numbers differ randomly. |
ohair@494 | 660 | DIS_DIFF_FILTER="$SED -e s/\$[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/\([0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].\)[0-9a-f][0-9a-f]/\1<NUM>/g -e s/\(%g1,.0x\)[0-9a-f]*\(,.%g1\)/\1<HEX>\2/g -e s/\(!.\)[0-9a-f]*\(.<SUNWprivate_1.1+0x\)[0-9a-f]*/\1<NUM>\2<HEX>/g" |
ohair@494 | 661 | |
ohair@494 | 662 | # Some xor instructions end up with different args in the lib but not in the object files. |
ohair@494 | 663 | ACCEPTED_DIS_DIFF=" |
ohair@494 | 664 | ./demo/jvmti/waiters/lib/libwaiters.so |
ohair@494 | 665 | " |
ohair@494 | 666 | |
ohair@494 | 667 | SKIP_FULLDUMP_DIFF="true" |
ohair@494 | 668 | |
ohair@494 | 669 | fi |
ohair@494 | 670 | |
ohair@494 | 671 | if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]; then |
ohair@494 | 672 | |
ohair@494 | 673 | STRIP_BEFORE_COMPARE=" |
ohair@494 | 674 | ./demo/jni/Poller/lib/sparcv9/libPoller.so |
ohair@494 | 675 | ./demo/jvmti/compiledMethodLoad/lib/sparcv9/libcompiledMethodLoad.so |
ohair@494 | 676 | ./demo/jvmti/gctest/lib/sparcv9/libgctest.so |
ohair@494 | 677 | ./demo/jvmti/heapTracker/lib/sparcv9/libheapTracker.so |
ohair@494 | 678 | ./demo/jvmti/heapViewer/lib/sparcv9/libheapViewer.so |
ohair@494 | 679 | ./demo/jvmti/hprof/lib/sparcv9/libhprof.so |
ohair@494 | 680 | ./demo/jvmti/minst/lib/sparcv9/libminst.so |
ohair@494 | 681 | ./demo/jvmti/mtrace/lib/sparcv9/libmtrace.so |
ohair@494 | 682 | ./demo/jvmti/versionCheck/lib/sparcv9/libversionCheck.so |
ohair@494 | 683 | ./demo/jvmti/waiters/lib/sparcv9/libwaiters.so |
ohair@494 | 684 | " |
ohair@494 | 685 | |
ohair@494 | 686 | SORT_SYMBOLS=" |
ohair@494 | 687 | ./demo/jvmti/waiters/lib/sparcv9/libwaiters.so |
ohair@494 | 688 | ./jre/lib/sparcv9/libjsig.so |
ohair@494 | 689 | ./jre/lib/sparcv9/libsaproc.so |
ohair@494 | 690 | ./jre/lib/sparcv9/server/libjvm.so |
ohair@494 | 691 | ./jre/lib/sparcv9/server/libjvm_dtrace.so |
ohair@494 | 692 | " |
ohair@494 | 693 | |
ohair@494 | 694 | SKIP_BIN_DIFF="true" |
ohair@494 | 695 | |
ohair@494 | 696 | ACCEPTED_SMALL_SIZE_DIFF=" |
ohair@494 | 697 | ./demo/jni/Poller/lib/sparcv9/libPoller.so |
ohair@494 | 698 | ./demo/jvmti/compiledMethodLoad/lib/sparcv9/libcompiledMethodLoad.so |
ohair@494 | 699 | ./demo/jvmti/gctest/lib/sparcv9/libgctest.so |
ohair@494 | 700 | ./demo/jvmti/heapTracker/lib/sparcv9/libheapTracker.so |
ohair@494 | 701 | ./demo/jvmti/heapViewer/lib/sparcv9/libheapViewer.so |
ohair@494 | 702 | ./demo/jvmti/hprof/lib/sparcv9/libhprof.so |
ohair@494 | 703 | ./demo/jvmti/minst/lib/sparcv9/libminst.so |
ohair@494 | 704 | ./demo/jvmti/mtrace/lib/sparcv9/libmtrace.so |
ohair@494 | 705 | ./demo/jvmti/versionCheck/lib/sparcv9/libversionCheck.so |
ohair@494 | 706 | ./demo/jvmti/waiters/lib/sparcv9/libwaiters.so |
ohair@494 | 707 | ./jre/lib/sparcv9/client/libjvm.so |
ohair@494 | 708 | ./jre/lib/sparcv9/jli/libjli.so |
ohair@494 | 709 | ./jre/lib/sparcv9/libJdbcOdbc.so |
ohair@494 | 710 | ./jre/lib/sparcv9/libattach.so |
ohair@494 | 711 | ./jre/lib/sparcv9/libawt.so |
ohair@494 | 712 | ./jre/lib/sparcv9/libawt_headless.so |
ohair@494 | 713 | ./jre/lib/sparcv9/libawt_xawt.so |
ohair@494 | 714 | ./jre/lib/sparcv9/libdcpr.so |
ohair@494 | 715 | ./jre/lib/sparcv9/libdt_socket.so |
ohair@494 | 716 | ./jre/lib/sparcv9/libfontmanager.so |
ohair@494 | 717 | ./jre/lib/sparcv9/libhprof.so |
ohair@494 | 718 | ./jre/lib/sparcv9/libinstrument.so |
ohair@494 | 719 | ./jre/lib/sparcv9/libj2gss.so |
ohair@494 | 720 | ./jre/lib/sparcv9/libj2pcsc.so |
ohair@494 | 721 | ./jre/lib/sparcv9/libj2pkcs11.so |
ohair@494 | 722 | ./jre/lib/sparcv9/libj2ucrypto.so |
ohair@494 | 723 | ./jre/lib/sparcv9/libjaas_unix.so |
ohair@494 | 724 | ./jre/lib/sparcv9/libjava.so |
ohair@494 | 725 | ./jre/lib/sparcv9/libjava_crw_demo.so |
ohair@494 | 726 | ./jre/lib/sparcv9/libjawt.so |
ohair@494 | 727 | ./jre/lib/sparcv9/libjdwp.so |
ohair@494 | 728 | ./jre/lib/sparcv9/libjfr.so |
ohair@494 | 729 | ./jre/lib/sparcv9/libjpeg.so |
ohair@494 | 730 | ./jre/lib/sparcv9/libjsdt.so |
ohair@494 | 731 | ./jre/lib/sparcv9/libjsound.so |
ohair@494 | 732 | ./jre/lib/sparcv9/libkcms.so |
ohair@494 | 733 | ./jre/lib/sparcv9/liblcms.so |
ohair@494 | 734 | ./jre/lib/sparcv9/libmanagement.so |
ohair@494 | 735 | ./jre/lib/sparcv9/libmlib_image.so |
ohair@494 | 736 | ./jre/lib/sparcv9/libmlib_image_v.so |
ohair@494 | 737 | ./jre/lib/sparcv9/libnet.so |
ohair@494 | 738 | ./jre/lib/sparcv9/libnio.so |
ohair@494 | 739 | ./jre/lib/sparcv9/libnpt.so |
ohair@494 | 740 | ./jre/lib/sparcv9/libsctp.so |
ohair@494 | 741 | ./jre/lib/sparcv9/libsplashscreen.so |
ohair@494 | 742 | ./jre/lib/sparcv9/libsunec.so |
ohair@494 | 743 | ./jre/lib/sparcv9/libsunwjdga.so |
ohair@494 | 744 | ./jre/lib/sparcv9/libt2k.so |
ohair@494 | 745 | ./jre/lib/sparcv9/libunpack.so |
ohair@494 | 746 | ./jre/lib/sparcv9/libverify.so |
ohair@494 | 747 | ./jre/lib/sparcv9/libzip.so |
ohair@494 | 748 | ./jre/lib/sparcv9/server/libjvm.so |
ohair@494 | 749 | ./bin/sparcv9/appletviewer |
ohair@494 | 750 | ./bin/sparcv9/extcheck |
ohair@494 | 751 | ./bin/sparcv9/idlj |
ohair@494 | 752 | ./bin/sparcv9/jar |
ohair@494 | 753 | ./bin/sparcv9/jarsigner |
ohair@494 | 754 | ./bin/sparcv9/java |
ohair@494 | 755 | ./bin/sparcv9/javac |
ohair@494 | 756 | ./bin/sparcv9/javadoc |
ohair@494 | 757 | ./bin/sparcv9/javah |
ohair@494 | 758 | ./bin/sparcv9/javap |
mchung@552 | 759 | ./bin/sparcv9/jdeps |
ohair@494 | 760 | ./bin/sparcv9/jcmd |
ohair@494 | 761 | ./bin/sparcv9/jconsole |
ohair@494 | 762 | ./bin/sparcv9/jdb |
ohair@494 | 763 | ./bin/sparcv9/jhat |
ohair@494 | 764 | ./bin/sparcv9/jinfo |
ohair@494 | 765 | ./bin/sparcv9/jmap |
ohair@494 | 766 | ./bin/sparcv9/jps |
ohair@494 | 767 | ./bin/sparcv9/jrunscript |
ohair@494 | 768 | ./bin/sparcv9/jsadebugd |
ohair@494 | 769 | ./bin/sparcv9/jstack |
ohair@494 | 770 | ./bin/sparcv9/jstat |
ohair@494 | 771 | ./bin/sparcv9/jstatd |
ohair@494 | 772 | ./bin/sparcv9/keytool |
ohair@494 | 773 | ./bin/sparcv9/native2ascii |
ohair@494 | 774 | ./bin/sparcv9/orbd |
ohair@494 | 775 | ./bin/sparcv9/pack200 |
ohair@494 | 776 | ./bin/sparcv9/policytool |
ohair@494 | 777 | ./bin/sparcv9/rmic |
ohair@494 | 778 | ./bin/sparcv9/rmid |
ohair@494 | 779 | ./bin/sparcv9/rmiregistry |
ohair@494 | 780 | ./bin/sparcv9/schemagen |
ohair@494 | 781 | ./bin/sparcv9/serialver |
ohair@494 | 782 | ./bin/sparcv9/servertool |
ohair@494 | 783 | ./bin/sparcv9/tnameserv |
ohair@494 | 784 | ./bin/sparcv9/unpack200 |
ohair@494 | 785 | ./bin/sparcv9/wsgen |
ohair@494 | 786 | ./bin/sparcv9/wsimport |
ohair@494 | 787 | ./bin/sparcv9/xjc |
ohair@494 | 788 | ./jre/bin/sparcv9/java |
ohair@494 | 789 | ./jre/bin/sparcv9/keytool |
ohair@494 | 790 | ./jre/bin/sparcv9/orbd |
ohair@494 | 791 | ./jre/bin/sparcv9/pack200 |
ohair@494 | 792 | ./jre/bin/sparcv9/policytool |
ohair@494 | 793 | ./jre/bin/sparcv9/rmid |
ohair@494 | 794 | ./jre/bin/sparcv9/rmiregistry |
ohair@494 | 795 | ./jre/bin/sparcv9/servertool |
ohair@494 | 796 | ./jre/bin/sparcv9/tnameserv |
ohair@494 | 797 | ./jre/bin/sparcv9/unpack200 |
ohair@494 | 798 | " |
ohair@494 | 799 | |
ohair@494 | 800 | # Filter random C++ symbol strings. |
ohair@494 | 801 | # Some numbers differ randomly. |
ohair@494 | 802 | DIS_DIFF_FILTER="$SED -e s/\$[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g -e s/[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f].[0-9a-f][0-9a-f]/<NUMS>/g -e s/\(%g1,.0x\)[0-9a-f]*\(,.%g1\)/\1<HEX>\2/g -e s/\(!.\)[0-9a-f]*\(.<SUNWprivate_1.1+0x\)[0-9a-f]*/\1<NUM>\2<HEX>/g" |
ohair@494 | 803 | |
ohair@494 | 804 | # Some xor instructions end up with different args in the lib but not in the object files. |
ohair@494 | 805 | ACCEPTED_DIS_DIFF=" |
ohair@494 | 806 | ./demo/jvmti/waiters/lib/sparcv9/libwaiters.so |
ohair@494 | 807 | " |
ohair@494 | 808 | |
ohair@494 | 809 | SKIP_FULLDUMP_DIFF="true" |
ohair@494 | 810 | |
ohair@494 | 811 | fi |
ohair@494 | 812 | |
ohair@494 | 813 | |
ohair@494 | 814 | if [ "$OPENJDK_TARGET_OS" = "windows" ]; then |
ohair@494 | 815 | |
erikj@569 | 816 | ACCEPTED_JARZIP_CONTENTS=" |
erikj@569 | 817 | /bin/w2k_lsa_auth.dll |
erikj@569 | 818 | " |
erikj@569 | 819 | |
ohair@494 | 820 | # Probably should add all libs here |
ohair@494 | 821 | ACCEPTED_SMALL_SIZE_DIFF=" |
ohair@494 | 822 | ./demo/jvmti/gctest/lib/gctest.dll |
ohair@494 | 823 | ./demo/jvmti/heapTracker/lib/heapTracker.dll |
ohair@494 | 824 | ./demo/jvmti/minst/lib/minst.dll |
ohair@494 | 825 | ./jre/bin/attach.dll |
ohair@494 | 826 | ./jre/bin/java_crw_demo.dll |
ohair@494 | 827 | ./jre/bin/jsoundds.dll |
erikj@564 | 828 | ./jre/bin/server/jvm.dll |
ohair@494 | 829 | ./bin/appletviewer.exe |
ohair@494 | 830 | ./bin/extcheck.exe |
ohair@494 | 831 | ./bin/idlj.exe |
ohair@494 | 832 | ./bin/jar.exe |
ohair@494 | 833 | ./bin/jarsigner.exe |
ohair@494 | 834 | ./bin/java-rmi.exe |
ohair@494 | 835 | ./bin/java.exe |
ohair@494 | 836 | ./bin/javac.exe |
ohair@494 | 837 | ./bin/javadoc.exe |
ohair@494 | 838 | ./bin/javah.exe |
ohair@494 | 839 | ./bin/javap.exe |
mchung@552 | 840 | ./bin/jdeps.exe |
ohair@494 | 841 | ./bin/javaw.exe |
ohair@494 | 842 | ./bin/jcmd.exe |
ohair@494 | 843 | ./bin/jconsole.exe |
ohair@494 | 844 | ./bin/jdb.exe |
ohair@494 | 845 | ./bin/jhat.exe |
ohair@494 | 846 | ./bin/jinfo.exe |
ohair@494 | 847 | ./bin/jmap.exe |
ohair@494 | 848 | ./bin/jps.exe |
ohair@494 | 849 | ./bin/jrunscript.exe |
ohair@494 | 850 | ./bin/jsadebugd.exe |
ohair@494 | 851 | ./bin/jstack.exe |
ohair@494 | 852 | ./bin/jstat.exe |
ohair@494 | 853 | ./bin/jstatd.exe |
ohair@494 | 854 | ./bin/keytool.exe |
ohair@494 | 855 | ./bin/kinit.exe |
ohair@494 | 856 | ./bin/klist.exe |
ohair@494 | 857 | ./bin/ktab.exe |
ohair@494 | 858 | ./bin/native2ascii.exe |
ohair@494 | 859 | ./bin/orbd.exe |
ohair@494 | 860 | ./bin/pack200.exe |
ohair@494 | 861 | ./bin/policytool.exe |
ohair@494 | 862 | ./bin/rmic.exe |
ohair@494 | 863 | ./bin/rmid.exe |
ohair@494 | 864 | ./bin/rmiregistry.exe |
ohair@494 | 865 | ./bin/schemagen.exe |
ohair@494 | 866 | ./bin/serialver.exe |
ohair@494 | 867 | ./bin/servertool.exe |
ohair@494 | 868 | ./bin/tnameserv.exe |
ohair@494 | 869 | ./bin/unpack200.exe |
ohair@494 | 870 | ./bin/wsgen.exe |
ohair@494 | 871 | ./bin/wsimport.exe |
ohair@494 | 872 | ./bin/xjc.exe |
ohair@494 | 873 | ./jre/bin/java-rmi.exe |
ohair@494 | 874 | ./jre/bin/java.exe |
ohair@494 | 875 | ./jre/bin/javaw.exe |
ohair@494 | 876 | ./jre/bin/keytool.exe |
ohair@494 | 877 | ./jre/bin/kinit.exe |
ohair@494 | 878 | ./jre/bin/klist.exe |
ohair@494 | 879 | ./jre/bin/ktab.exe |
ohair@494 | 880 | ./jre/bin/orbd.exe |
ohair@494 | 881 | ./jre/bin/pack200.exe |
ohair@494 | 882 | ./jre/bin/policytool.exe |
ohair@494 | 883 | ./jre/bin/rmid.exe |
ohair@494 | 884 | ./jre/bin/rmiregistry.exe |
ohair@494 | 885 | ./jre/bin/servertool.exe |
ohair@494 | 886 | ./jre/bin/tnameserv.exe |
ohair@494 | 887 | ./jre/bin/unpack200.exe |
ohair@494 | 888 | " |
ohair@494 | 889 | |
raginip@597 | 890 | # jabswitch.exe is compiled and linked with incremental turned on in the old |
raginip@597 | 891 | # build. This makes no sense, so it's turned off in the new build. |
raginip@597 | 892 | ACCEPTED_SIZE_DIFF=" |
raginip@597 | 893 | ./bin/jabswitch.exe |
raginip@597 | 894 | ./jre/bin/jabswitch.exe |
raginip@597 | 895 | " |
raginip@597 | 896 | ACCEPTED_DIS_DIFF=" |
raginip@597 | 897 | ./bin/jabswitch.exe |
raginip@597 | 898 | ./jre/bin/jabswitch.exe |
raginip@597 | 899 | " |
raginip@597 | 900 | |
ohair@494 | 901 | # On windows, there are unavoidable allignment issues making |
ohair@494 | 902 | # a perfect disasm diff impossible. Filter out the following: |
ohair@494 | 903 | # * Random parts of C++ symbols (this is a bit greedy, but does the trick) |
ohair@494 | 904 | # @XXXXX |
ohair@494 | 905 | # * Hexadecimal addresses that are sometimes alligned differently. |
ohair@494 | 906 | # * Dates in version strings XXXX_XX_XX. |
ohair@494 | 907 | DIS_DIFF_FILTER="$SED -e s/[@?][A-Z0-9_]\{1,25\}/<SYM>/g -e s/^.\{2,2\}[0-9A-F]\{16,16\}.\{2,2\}//g -e s/[0-9A-F]\{4,16\}h/<HEXSTR>/g -e s/_[0-9]\{4,4\}_[0-9][0-9]_[0-9][0-9]/<DATE>/g" |
ohair@494 | 908 | |
ohair@494 | 909 | SKIP_BIN_DIFF="true" |
ohair@494 | 910 | SKIP_FULLDUMP_DIFF="true" |
ohair@494 | 911 | |
ohair@494 | 912 | fi |
ohair@494 | 913 | |
ohair@494 | 914 | |
ohair@494 | 915 | if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then |
ohair@494 | 916 | ACCEPTED_JARZIP_CONTENTS=" |
ohair@494 | 917 | /META-INF/INDEX.LIST |
ohair@494 | 918 | " |
ohair@494 | 919 | |
ohair@494 | 920 | KNOWN_BIN_DIFF=" |
ohair@494 | 921 | ./jre/lib/libJObjC.dylib |
tbell@510 | 922 | ./lib/libJObjC.dylib |
ohair@494 | 923 | " |
ohair@494 | 924 | |
ohair@494 | 925 | ACCEPTED_BIN_DIFF=" |
ohair@494 | 926 | ./bin/appletviewer |
ohair@494 | 927 | ./bin/extcheck |
ohair@494 | 928 | ./bin/idlj |
ohair@494 | 929 | ./bin/jar |
ohair@494 | 930 | ./bin/jarsigner |
ohair@494 | 931 | ./bin/java |
ohair@494 | 932 | ./bin/javac |
ohair@494 | 933 | ./bin/javadoc |
ohair@494 | 934 | ./bin/javah |
ohair@494 | 935 | ./bin/javap |
mchung@552 | 936 | ./bin/jdeps |
ohair@494 | 937 | ./bin/jcmd |
ohair@494 | 938 | ./bin/jconsole |
ohair@494 | 939 | ./bin/jdb |
ohair@494 | 940 | ./bin/jhat |
ohair@494 | 941 | ./bin/jinfo |
ohair@494 | 942 | ./bin/jmap |
ohair@494 | 943 | ./bin/jps |
ohair@494 | 944 | ./bin/jrunscript |
ohair@494 | 945 | ./bin/jsadebugd |
ohair@494 | 946 | ./bin/jstack |
ohair@494 | 947 | ./bin/jstat |
ohair@494 | 948 | ./bin/jstatd |
ohair@494 | 949 | ./bin/keytool |
ohair@494 | 950 | ./bin/native2ascii |
ohair@494 | 951 | ./bin/orbd |
ohair@494 | 952 | ./bin/pack200 |
ohair@494 | 953 | ./bin/policytool |
ohair@494 | 954 | ./bin/rmic |
ohair@494 | 955 | ./bin/rmid |
ohair@494 | 956 | ./bin/rmiregistry |
ohair@494 | 957 | ./bin/schemagen |
ohair@494 | 958 | ./bin/serialver |
ohair@494 | 959 | ./bin/servertool |
ohair@494 | 960 | ./bin/tnameserv |
ohair@494 | 961 | ./bin/wsgen |
ohair@494 | 962 | ./bin/wsimport |
ohair@494 | 963 | ./bin/xjc |
ohair@494 | 964 | ./jre/bin/java |
ohair@494 | 965 | ./jre/bin/keytool |
ohair@494 | 966 | ./jre/bin/orbd |
ohair@494 | 967 | ./jre/bin/pack200 |
ohair@494 | 968 | ./jre/bin/policytool |
ohair@494 | 969 | ./jre/bin/rmid |
ohair@494 | 970 | ./jre/bin/rmiregistry |
ohair@494 | 971 | ./jre/bin/servertool |
ohair@494 | 972 | ./jre/bin/tnameserv |
ohair@494 | 973 | ./jre/lib/libsaproc.dylib |
ohair@494 | 974 | ./jre/lib/server/libjvm.dylib |
tbell@510 | 975 | ./lib/libsaproc.dylib |
tbell@510 | 976 | ./lib/server/libjvm.dylib |
tbell@510 | 977 | ./lib/deploy/JavaControlPanel.prefPane/Contents/MacOS/JavaControlPanel |
ohair@494 | 978 | " |
ohair@494 | 979 | |
ohair@494 | 980 | KNOWN_SIZE_DIFF=" |
ohair@494 | 981 | ./jre/lib/libJObjC.dylib |
tbell@510 | 982 | ./lib/libJObjC.dylib |
ohair@494 | 983 | " |
ohair@494 | 984 | |
ohair@494 | 985 | SORT_SYMBOLS=" |
ohair@494 | 986 | ./jre/lib/libJObjC.dylib |
tbell@510 | 987 | ./lib/libJObjC.dylib |
ohair@494 | 988 | " |
ohair@494 | 989 | |
ohair@494 | 990 | KNOWN_SYM_DIFF=" |
ohair@494 | 991 | ./jre/lib/libJObjC.dylib |
tbell@510 | 992 | ./lib/libJObjC.dylib |
ohair@494 | 993 | " |
ohair@494 | 994 | |
ohair@494 | 995 | KNOWN_ELF_DIFF=" |
ohair@494 | 996 | ./jre/lib/libJObjC.dylib |
tbell@510 | 997 | ./lib/libJObjC.dylib |
ohair@494 | 998 | " |
ohair@494 | 999 | |
ohair@494 | 1000 | KNOWN_DIS_DIFF=" |
ohair@494 | 1001 | ./jre/lib/libJObjC.dylib |
tbell@510 | 1002 | ./lib/libJObjC.dylib |
ohair@494 | 1003 | " |
ohair@494 | 1004 | |
ohair@494 | 1005 | fi |