author | prr |
Wed, 15 Apr 2015 14:28:43 -0700 | |
changeset 30465 | a77083748efc |
parent 29157 | e911c898c14c |
child 30541 | 332465740d9b |
permissions | -rw-r--r-- |
14111 | 1 |
#!/bin/bash |
2 |
# |
|
3 |
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
|
4 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
5 |
# |
|
6 |
# This code is free software; you can redistribute it and/or modify it |
|
7 |
# under the terms of the GNU General Public License version 2 only, as |
|
8 |
# published by the Free Software Foundation. |
|
9 |
# |
|
10 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
14 |
# accompanied this code). |
|
15 |
# |
|
16 |
# You should have received a copy of the GNU General Public License version |
|
17 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
18 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 |
# |
|
20 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
21 |
# or visit www.oracle.com if you need additional information or have any |
|
22 |
# questions. |
|
23 |
# |
|
24 |
||
25 |
# This script is not to be run as stand-alone, it should be included from |
|
26 |
# compare.sh. |
|
27 |
||
28 |
########################################################################################## |
|
29 |
# Check that we are run via inclusion from compare.sh and not as stand-alone. |
|
30 |
if [ -z "$COMPARE_EXCEPTIONS_INCLUDE" ]; then |
|
31 |
echo "Error: This script should not be run as stand-alone. It is included by compare.sh" |
|
32 |
exit 1 |
|
33 |
fi |
|
34 |
||
35 |
########################################################################################## |
|
36 |
# Diff exceptions |
|
37 |
||
38 |
if [ "$OPENJDK_TARGET_OS" = "linux" ] && [ "$OPENJDK_TARGET_CPU" = "x86" ]; then |
|
39 |
||
40 |
STRIP_BEFORE_COMPARE=" |
|
41 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
42 |
./demo/jvmti/gctest/lib/libgctest.so |
|
43 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
44 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
45 |
./demo/jvmti/hprof/lib/libhprof.so |
|
46 |
./demo/jvmti/minst/lib/libminst.so |
|
47 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
48 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
49 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
50 |
" |
|
51 |
||
52 |
ACCEPTED_BIN_DIFF=" |
|
53 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
54 |
./demo/jvmti/gctest/lib/libgctest.so |
|
55 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
56 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
57 |
./demo/jvmti/hprof/lib/libhprof.so |
|
58 |
./demo/jvmti/minst/lib/libminst.so |
|
59 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
60 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
61 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
29157 | 62 |
./lib/i386/client/libjvm.so |
63 |
./lib/i386/libattach.so |
|
64 |
./lib/i386/libdt_socket.so |
|
65 |
./lib/i386/libhprof.so |
|
66 |
./lib/i386/libinstrument.so |
|
67 |
./lib/i386/libjava_crw_demo.so |
|
68 |
./lib/i386/libjsdt.so |
|
69 |
./lib/i386/libmanagement.so |
|
70 |
./lib/i386/libnpt.so |
|
71 |
./lib/i386/libverify.so |
|
72 |
./lib/i386/server/libjvm.so |
|
14111 | 73 |
./bin/appletviewer |
74 |
./bin/idlj |
|
75 |
./bin/jar |
|
76 |
./bin/jarsigner |
|
77 |
./bin/java |
|
78 |
./bin/javac |
|
79 |
./bin/javadoc |
|
80 |
./bin/javah |
|
81 |
./bin/javap |
|
14986
9f334745d1c7
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14467
diff
changeset
|
82 |
./bin/jdeps |
14111 | 83 |
./bin/jcmd |
84 |
./bin/jconsole |
|
85 |
./bin/jdb |
|
86 |
./bin/jhat |
|
27560 | 87 |
./bin/jimage |
14111 | 88 |
./bin/jinfo |
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
89 |
./bin/jjs |
14111 | 90 |
./bin/jmap |
91 |
./bin/jps |
|
92 |
./bin/jrunscript |
|
93 |
./bin/jsadebugd |
|
94 |
./bin/jstack |
|
95 |
./bin/jstat |
|
96 |
./bin/jstatd |
|
97 |
./bin/keytool |
|
98 |
./bin/native2ascii |
|
99 |
./bin/orbd |
|
100 |
./bin/pack200 |
|
101 |
./bin/policytool |
|
102 |
./bin/rmic |
|
103 |
./bin/rmid |
|
104 |
./bin/rmiregistry |
|
105 |
./bin/schemagen |
|
106 |
./bin/serialver |
|
107 |
./bin/servertool |
|
108 |
./bin/tnameserv |
|
109 |
./bin/wsgen |
|
110 |
./bin/wsimport |
|
111 |
./bin/xjc |
|
112 |
" |
|
113 |
||
114 |
fi |
|
115 |
||
116 |
if [ "$OPENJDK_TARGET_OS" = "linux" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ]; then |
|
117 |
||
118 |
STRIP_BEFORE_COMPARE=" |
|
119 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
120 |
./demo/jvmti/gctest/lib/libgctest.so |
|
121 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
122 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
123 |
./demo/jvmti/hprof/lib/libhprof.so |
|
124 |
./demo/jvmti/minst/lib/libminst.so |
|
125 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
126 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
127 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
128 |
" |
|
129 |
||
130 |
ACCEPTED_BIN_DIFF=" |
|
131 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
132 |
./demo/jvmti/gctest/lib/libgctest.so |
|
133 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
134 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
135 |
./demo/jvmti/hprof/lib/libhprof.so |
|
136 |
./demo/jvmti/minst/lib/libminst.so |
|
137 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
138 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
139 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
29157 | 140 |
./lib/amd64/libattach.so |
141 |
./lib/amd64/libdt_socket.so |
|
142 |
./lib/amd64/libhprof.so |
|
143 |
./lib/amd64/libinstrument.so |
|
144 |
./lib/amd64/libjava_crw_demo.so |
|
145 |
./lib/amd64/libjsdt.so |
|
146 |
./lib/amd64/libjsig.so |
|
147 |
./lib/amd64/libmanagement.so |
|
148 |
./lib/amd64/libnpt.so |
|
149 |
./lib/amd64/libsaproc.so |
|
150 |
./lib/amd64/libverify.so |
|
151 |
./lib/amd64/server/libjsig.so |
|
152 |
./lib/amd64/server/libjvm.so |
|
14111 | 153 |
./bin/appletviewer |
154 |
./bin/idlj |
|
155 |
./bin/jar |
|
156 |
./bin/jarsigner |
|
157 |
./bin/java |
|
158 |
./bin/javac |
|
159 |
./bin/javadoc |
|
160 |
./bin/javah |
|
161 |
./bin/javap |
|
14986
9f334745d1c7
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14467
diff
changeset
|
162 |
./bin/jdeps |
14111 | 163 |
./bin/jcmd |
164 |
./bin/jconsole |
|
165 |
./bin/jdb |
|
166 |
./bin/jhat |
|
27560 | 167 |
./bin/jimage |
14111 | 168 |
./bin/jinfo |
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
169 |
./bin/jjs |
14111 | 170 |
./bin/jmap |
171 |
./bin/jps |
|
172 |
./bin/jrunscript |
|
173 |
./bin/jsadebugd |
|
174 |
./bin/jstack |
|
175 |
./bin/jstat |
|
176 |
./bin/jstatd |
|
177 |
./bin/keytool |
|
178 |
./bin/native2ascii |
|
179 |
./bin/orbd |
|
180 |
./bin/pack200 |
|
181 |
./bin/policytool |
|
182 |
./bin/rmic |
|
183 |
./bin/rmid |
|
184 |
./bin/rmiregistry |
|
185 |
./bin/schemagen |
|
186 |
./bin/serialver |
|
187 |
./bin/servertool |
|
188 |
./bin/tnameserv |
|
189 |
./bin/wsgen |
|
190 |
./bin/wsimport |
|
191 |
./bin/xjc |
|
192 |
" |
|
193 |
||
194 |
fi |
|
195 |
||
29157 | 196 |
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ]; then |
14111 | 197 |
|
198 |
STRIP_BEFORE_COMPARE=" |
|
199 |
./demo/jni/Poller/lib/libPoller.so |
|
200 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
201 |
./demo/jvmti/gctest/lib/libgctest.so |
|
202 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
203 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
204 |
./demo/jvmti/hprof/lib/libhprof.so |
|
205 |
./demo/jvmti/minst/lib/libminst.so |
|
206 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
207 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
208 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
209 |
" |
|
210 |
||
211 |
SORT_SYMBOLS=" |
|
29157 | 212 |
./lib/amd64/server/libjvm.so |
213 |
./lib/amd64/libsaproc.so |
|
14111 | 214 |
" |
215 |
||
216 |
SKIP_BIN_DIFF="true" |
|
217 |
||
218 |
ACCEPTED_SMALL_SIZE_DIFF=" |
|
219 |
./demo/jni/Poller/lib/libPoller.so |
|
220 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
221 |
./demo/jvmti/gctest/lib/libgctest.so |
|
222 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
223 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
224 |
./demo/jvmti/hprof/lib/libhprof.so |
|
225 |
./demo/jvmti/minst/lib/libminst.so |
|
226 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
227 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
228 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
29157 | 229 |
./lib/amd64/jli/libjli.so |
230 |
./lib/amd64/jspawnhelper |
|
231 |
./lib/amd64/libJdbcOdbc.so |
|
232 |
./lib/amd64/libattach.so |
|
233 |
./lib/amd64/libawt.so |
|
234 |
./lib/amd64/libawt_headless.so |
|
235 |
./lib/amd64/libawt_xawt.so |
|
236 |
./lib/amd64/libdcpr.so |
|
237 |
./lib/amd64/libdt_socket.so |
|
238 |
./lib/amd64/libfontmanager.so |
|
239 |
./lib/amd64/libhprof.so |
|
240 |
./lib/amd64/libinstrument.so |
|
241 |
./lib/amd64/libj2gss.so |
|
242 |
./lib/amd64/libj2pcsc.so |
|
243 |
./lib/amd64/libj2pkcs11.so |
|
244 |
./lib/amd64/libj2ucrypto.so |
|
245 |
./lib/amd64/libjaas_unix.so |
|
246 |
./lib/amd64/libjava.so |
|
247 |
./lib/amd64/libjava_crw_demo.so |
|
248 |
./lib/amd64/libjawt.so |
|
249 |
./lib/amd64/libjdwp.so |
|
250 |
./lib/amd64/libjfr.so |
|
251 |
./lib/amd64/libjpeg.so |
|
252 |
./lib/amd64/libjsdt.so |
|
253 |
./lib/amd64/libjsound.so |
|
254 |
./lib/amd64/libkcms.so |
|
255 |
./lib/amd64/liblcms.so |
|
256 |
./lib/amd64/libmanagement.so |
|
257 |
./lib/amd64/libmlib_image.so |
|
258 |
./lib/amd64/libnet.so |
|
259 |
./lib/amd64/libnio.so |
|
260 |
./lib/amd64/libnpt.so |
|
261 |
./lib/amd64/libsctp.so |
|
262 |
./lib/amd64/libsplashscreen.so |
|
263 |
./lib/amd64/libsunec.so |
|
264 |
./lib/amd64/libsunwjdga.so |
|
265 |
./lib/amd64/libt2k.so |
|
266 |
./lib/amd64/libunpack.so |
|
267 |
./lib/amd64/libverify.so |
|
268 |
./lib/amd64/libzip.so |
|
269 |
./lib/amd64/server/64/libjvm_db.so |
|
270 |
./lib/amd64/server/64/libjvm_dtrace.so |
|
271 |
./lib/amd64/server/libjvm.so |
|
272 |
./lib/amd64/server/libjvm_db.so |
|
273 |
./lib/amd64/server/libjvm_dtrace.so |
|
14111 | 274 |
./bin/appletviewer |
275 |
./bin/idlj |
|
276 |
./bin/jar |
|
277 |
./bin/jarsigner |
|
278 |
./bin/java |
|
279 |
./bin/javac |
|
280 |
./bin/javadoc |
|
281 |
./bin/javah |
|
282 |
./bin/javap |
|
14986
9f334745d1c7
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14467
diff
changeset
|
283 |
./bin/jdeps |
14111 | 284 |
./bin/jcmd |
285 |
./bin/jconsole |
|
286 |
./bin/jdb |
|
287 |
./bin/jhat |
|
27560 | 288 |
./bin/jimage |
14111 | 289 |
./bin/jinfo |
27560 | 290 |
./bin/jjs |
14111 | 291 |
./bin/jmap |
292 |
./bin/jps |
|
293 |
./bin/jrunscript |
|
294 |
./bin/jsadebugd |
|
295 |
./bin/jstack |
|
296 |
./bin/jstat |
|
297 |
./bin/jstatd |
|
298 |
./bin/keytool |
|
299 |
./bin/native2ascii |
|
300 |
./bin/orbd |
|
301 |
./bin/pack200 |
|
302 |
./bin/policytool |
|
303 |
./bin/rmic |
|
304 |
./bin/rmid |
|
305 |
./bin/rmiregistry |
|
306 |
./bin/schemagen |
|
307 |
./bin/serialver |
|
308 |
./bin/servertool |
|
309 |
./bin/tnameserv |
|
310 |
./bin/unpack200 |
|
311 |
./bin/wsgen |
|
312 |
./bin/wsimport |
|
313 |
./bin/xjc |
|
314 |
" |
|
315 |
||
316 |
SKIP_FULLDUMP_DIFF="true" |
|
317 |
||
318 |
# Filter random C++ symbol strings. |
|
14467
a973c0a1bd5d
8003528: build-infra: Diffs in libjava and hotspot libs on solaris.
erikj
parents:
14458
diff
changeset
|
319 |
# Some numbers differ randomly. |
a973c0a1bd5d
8003528: build-infra: Diffs in libjava and hotspot libs on solaris.
erikj
parents:
14458
diff
changeset
|
320 |
# Can't use space in these expressions as the shell will mess with them. |
29157 | 321 |
DIS_DIFF_FILTER="$SED \ |
322 |
-e 's/\.[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g' \ |
|
323 |
-e 's/\([0-9a-f][0-9a-f].\)\{2,8\}[0-9a-f][0-9a-f]/<NUMS>/g' \ |
|
324 |
-e 's/\(0x\)[0-9a-f]*\([,(>]\)/\1<HEX>\2/g' \ |
|
325 |
-e 's/\(0x\)[0-9a-f]*$/\1<HEX>/g' \ |
|
326 |
-e 's/\(\#.\)[0-9a-f]*\(.<\)/\1<HEX>\2/g' \ |
|
327 |
-e 's/[\.A-Za-z0-9%]\{16,16\}$/<BIN>/g'" |
|
14111 | 328 |
|
329 |
fi |
|
330 |
||
29157 | 331 |
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]; then |
14111 | 332 |
|
333 |
STRIP_BEFORE_COMPARE=" |
|
334 |
./demo/jni/Poller/lib/libPoller.so |
|
335 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
336 |
./demo/jvmti/gctest/lib/libgctest.so |
|
337 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
338 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
339 |
./demo/jvmti/hprof/lib/libhprof.so |
|
340 |
./demo/jvmti/minst/lib/libminst.so |
|
341 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
342 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
343 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
344 |
" |
|
345 |
||
346 |
SORT_SYMBOLS=" |
|
347 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
29157 | 348 |
./lib/sparcv9/libjsig.so |
349 |
./lib/sparcv9/libsaproc.so |
|
350 |
./lib/sparcv9/server/libjvm.so |
|
351 |
./lib/sparcv9/server/libjvm_dtrace.so |
|
14111 | 352 |
" |
353 |
||
354 |
SKIP_BIN_DIFF="true" |
|
355 |
||
356 |
ACCEPTED_SMALL_SIZE_DIFF=" |
|
357 |
./demo/jni/Poller/lib/libPoller.so |
|
358 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so |
|
359 |
./demo/jvmti/gctest/lib/libgctest.so |
|
360 |
./demo/jvmti/heapTracker/lib/libheapTracker.so |
|
361 |
./demo/jvmti/heapViewer/lib/libheapViewer.so |
|
362 |
./demo/jvmti/hprof/lib/libhprof.so |
|
363 |
./demo/jvmti/minst/lib/libminst.so |
|
364 |
./demo/jvmti/mtrace/lib/libmtrace.so |
|
365 |
./demo/jvmti/versionCheck/lib/libversionCheck.so |
|
366 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
29157 | 367 |
./lib/sparcv9/client/libjvm.so |
368 |
./lib/sparcv9/jli/libjli.so |
|
369 |
./lib/sparcv9/jspawnhelper |
|
370 |
./lib/sparcv9/libJdbcOdbc.so |
|
371 |
./lib/sparcv9/libattach.so |
|
372 |
./lib/sparcv9/libawt.so |
|
373 |
./lib/sparcv9/libawt_headless.so |
|
374 |
./lib/sparcv9/libawt_xawt.so |
|
375 |
./lib/sparcv9/libdcpr.so |
|
376 |
./lib/sparcv9/libdt_socket.so |
|
377 |
./lib/sparcv9/libfontmanager.so |
|
378 |
./lib/sparcv9/libhprof.so |
|
379 |
./lib/sparcv9/libinstrument.so |
|
380 |
./lib/sparcv9/libj2gss.so |
|
381 |
./lib/sparcv9/libj2pcsc.so |
|
382 |
./lib/sparcv9/libj2pkcs11.so |
|
383 |
./lib/sparcv9/libj2ucrypto.so |
|
384 |
./lib/sparcv9/libjaas_unix.so |
|
385 |
./lib/sparcv9/libjava.so |
|
386 |
./lib/sparcv9/libjava_crw_demo.so |
|
387 |
./lib/sparcv9/libjawt.so |
|
388 |
./lib/sparcv9/libjdwp.so |
|
389 |
./lib/sparcv9/libjfr.so |
|
390 |
./lib/sparcv9/libjpeg.so |
|
391 |
./lib/sparcv9/libjsdt.so |
|
392 |
./lib/sparcv9/libjsound.so |
|
393 |
./lib/sparcv9/libkcms.so |
|
394 |
./lib/sparcv9/liblcms.so |
|
395 |
./lib/sparcv9/libmanagement.so |
|
396 |
./lib/sparcv9/libmlib_image.so |
|
397 |
./lib/sparcv9/libmlib_image_v.so |
|
398 |
./lib/sparcv9/libnet.so |
|
399 |
./lib/sparcv9/libnio.so |
|
400 |
./lib/sparcv9/libnpt.so |
|
401 |
./lib/sparcv9/libsctp.so |
|
402 |
./lib/sparcv9/libsplashscreen.so |
|
403 |
./lib/sparcv9/libsunec.so |
|
404 |
./lib/sparcv9/libsunwjdga.so |
|
405 |
./lib/sparcv9/libt2k.so |
|
406 |
./lib/sparcv9/libunpack.so |
|
407 |
./lib/sparcv9/libverify.so |
|
408 |
./lib/sparcv9/libzip.so |
|
409 |
./lib/sparcv9/server/libjvm.so |
|
14111 | 410 |
./bin/appletviewer |
411 |
./bin/idlj |
|
412 |
./bin/jar |
|
413 |
./bin/jarsigner |
|
414 |
./bin/java |
|
415 |
./bin/javac |
|
416 |
./bin/javadoc |
|
417 |
./bin/javah |
|
418 |
./bin/javap |
|
14986
9f334745d1c7
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14467
diff
changeset
|
419 |
./bin/jdeps |
14111 | 420 |
./bin/jcmd |
421 |
./bin/jconsole |
|
422 |
./bin/jdb |
|
423 |
./bin/jhat |
|
27560 | 424 |
./bin/jimage |
14111 | 425 |
./bin/jinfo |
27560 | 426 |
./bin/jjs |
14111 | 427 |
./bin/jmap |
428 |
./bin/jps |
|
429 |
./bin/jrunscript |
|
430 |
./bin/jsadebugd |
|
431 |
./bin/jstack |
|
432 |
./bin/jstat |
|
433 |
./bin/jstatd |
|
434 |
./bin/keytool |
|
435 |
./bin/native2ascii |
|
436 |
./bin/orbd |
|
437 |
./bin/pack200 |
|
438 |
./bin/policytool |
|
439 |
./bin/rmic |
|
440 |
./bin/rmid |
|
441 |
./bin/rmiregistry |
|
442 |
./bin/schemagen |
|
443 |
./bin/serialver |
|
444 |
./bin/servertool |
|
445 |
./bin/tnameserv |
|
446 |
./bin/unpack200 |
|
447 |
./bin/wsgen |
|
448 |
./bin/wsimport |
|
449 |
./bin/xjc |
|
450 |
" |
|
451 |
||
452 |
# Filter random C++ symbol strings. |
|
453 |
# Some numbers differ randomly. |
|
29157 | 454 |
DIS_DIFF_FILTER="$SED \ |
455 |
-e 's/\$[a-zA-Z0-9_\$]\{15,15\}/<SYM>/g' \ |
|
456 |
-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' \ |
|
457 |
-e 's/\(%g1,.0x\)[0-9a-f]*\(,.%g1\)/\1<HEX>\2/g' \ |
|
458 |
-e 's/\(!.\)[0-9a-f]*\(.<SUNWprivate_1.1+0x\)[0-9a-f]*/\1<NUM>\2<HEX>/g' \ |
|
459 |
-e 's/\!.[0-9a-f]\{1,4\} <_DYNAMIC+0x[0-9a-f]\{1,4\}>/<DYNAMIC>/g'" |
|
14111 | 460 |
|
461 |
# Some xor instructions end up with different args in the lib but not in the object files. |
|
462 |
ACCEPTED_DIS_DIFF=" |
|
463 |
./demo/jvmti/waiters/lib/libwaiters.so |
|
464 |
" |
|
465 |
||
466 |
SKIP_FULLDUMP_DIFF="true" |
|
467 |
||
468 |
fi |
|
469 |
||
470 |
||
471 |
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then |
|
472 |
||
15063
16aa1979a584
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15058
diff
changeset
|
473 |
ACCEPTED_JARZIP_CONTENTS=" |
29157 | 474 |
/modules_libs/java.security.jgss/w2k_lsa_auth.diz |
475 |
/modules_libs/java.security.jgss/w2k_lsa_auth.dll |
|
15063
16aa1979a584
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15058
diff
changeset
|
476 |
" |
16aa1979a584
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15058
diff
changeset
|
477 |
|
14111 | 478 |
# Probably should add all libs here |
479 |
ACCEPTED_SMALL_SIZE_DIFF=" |
|
480 |
./demo/jvmti/gctest/lib/gctest.dll |
|
481 |
./demo/jvmti/heapTracker/lib/heapTracker.dll |
|
482 |
./demo/jvmti/minst/lib/minst.dll |
|
29157 | 483 |
./bin/attach.dll |
484 |
./bin/java_crw_demo.dll |
|
485 |
./bin/jsoundds.dll |
|
486 |
./bin/server/jvm.dll |
|
14111 | 487 |
./bin/appletviewer.exe |
488 |
./bin/idlj.exe |
|
489 |
./bin/jar.exe |
|
490 |
./bin/jarsigner.exe |
|
491 |
./bin/java-rmi.exe |
|
492 |
./bin/java.exe |
|
493 |
./bin/javac.exe |
|
494 |
./bin/javadoc.exe |
|
495 |
./bin/javah.exe |
|
496 |
./bin/javap.exe |
|
14986
9f334745d1c7
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14467
diff
changeset
|
497 |
./bin/jdeps.exe |
14111 | 498 |
./bin/javaw.exe |
499 |
./bin/jcmd.exe |
|
500 |
./bin/jconsole.exe |
|
501 |
./bin/jdb.exe |
|
502 |
./bin/jhat.exe |
|
27560 | 503 |
./bin/jimage.exe |
14111 | 504 |
./bin/jinfo.exe |
27560 | 505 |
./bin/jjs.exe |
14111 | 506 |
./bin/jmap.exe |
507 |
./bin/jps.exe |
|
508 |
./bin/jrunscript.exe |
|
509 |
./bin/jsadebugd.exe |
|
510 |
./bin/jstack.exe |
|
511 |
./bin/jstat.exe |
|
512 |
./bin/jstatd.exe |
|
513 |
./bin/keytool.exe |
|
514 |
./bin/kinit.exe |
|
515 |
./bin/klist.exe |
|
516 |
./bin/ktab.exe |
|
517 |
./bin/native2ascii.exe |
|
518 |
./bin/orbd.exe |
|
519 |
./bin/pack200.exe |
|
520 |
./bin/policytool.exe |
|
521 |
./bin/rmic.exe |
|
522 |
./bin/rmid.exe |
|
523 |
./bin/rmiregistry.exe |
|
524 |
./bin/schemagen.exe |
|
525 |
./bin/serialver.exe |
|
526 |
./bin/servertool.exe |
|
527 |
./bin/tnameserv.exe |
|
528 |
./bin/unpack200.exe |
|
529 |
./bin/wsgen.exe |
|
530 |
./bin/wsimport.exe |
|
531 |
./bin/xjc.exe |
|
532 |
" |
|
533 |
||
15175
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
534 |
# jabswitch.exe is compiled and linked with incremental turned on in the old |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
535 |
# build. This makes no sense, so it's turned off in the new build. |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
536 |
ACCEPTED_SIZE_DIFF=" |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
537 |
./bin/jabswitch.exe |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
538 |
" |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
539 |
ACCEPTED_DIS_DIFF=" |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
540 |
./bin/jabswitch.exe |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
541 |
" |
ff3529df71a3
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14986
diff
changeset
|
542 |
|
14111 | 543 |
# On windows, there are unavoidable allignment issues making |
544 |
# a perfect disasm diff impossible. Filter out the following: |
|
545 |
# * Random parts of C++ symbols (this is a bit greedy, but does the trick) |
|
546 |
# @XXXXX |
|
547 |
# * Hexadecimal addresses that are sometimes alligned differently. |
|
548 |
# * Dates in version strings XXXX_XX_XX. |
|
29157 | 549 |
DIS_DIFF_FILTER="$SED \ |
550 |
-e 's/^ [0-9A-F]\{16\}: //g' \ |
|
551 |
-e 's/[@?][A-Za-z0-9_]\{1,25\}/<SYM>/g' \ |
|
552 |
-e 's/\([\[+]\)[0-9A-F]\{4,16\}h\]/\1<HEXSTR>]/g' \ |
|
553 |
-e 's/_[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}/_<DATE>/g'" |
|
554 |
#DIS_DIFF_FILTER="$CAT" |
|
14111 | 555 |
|
556 |
SKIP_BIN_DIFF="true" |
|
557 |
SKIP_FULLDUMP_DIFF="true" |
|
558 |
||
559 |
fi |
|
560 |
||
561 |
||
562 |
if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then |
|
563 |
ACCEPTED_JARZIP_CONTENTS=" |
|
564 |
/META-INF/INDEX.LIST |
|
565 |
" |
|
566 |
||
567 |
ACCEPTED_BIN_DIFF=" |
|
568 |
./bin/appletviewer |
|
569 |
./bin/idlj |
|
570 |
./bin/jar |
|
571 |
./bin/jarsigner |
|
572 |
./bin/java |
|
573 |
./bin/javac |
|
574 |
./bin/javadoc |
|
575 |
./bin/javah |
|
576 |
./bin/javap |
|
29157 | 577 |
./bin/javaws |
14986
9f334745d1c7
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14467
diff
changeset
|
578 |
./bin/jdeps |
14111 | 579 |
./bin/jcmd |
580 |
./bin/jconsole |
|
581 |
./bin/jdb |
|
582 |
./bin/jhat |
|
27560 | 583 |
./bin/jimage |
14111 | 584 |
./bin/jinfo |
27560 | 585 |
./bin/jjs |
14111 | 586 |
./bin/jmap |
587 |
./bin/jps |
|
588 |
./bin/jrunscript |
|
589 |
./bin/jsadebugd |
|
590 |
./bin/jstack |
|
591 |
./bin/jstat |
|
592 |
./bin/jstatd |
|
593 |
./bin/keytool |
|
594 |
./bin/native2ascii |
|
595 |
./bin/orbd |
|
596 |
./bin/pack200 |
|
597 |
./bin/policytool |
|
598 |
./bin/rmic |
|
599 |
./bin/rmid |
|
600 |
./bin/rmiregistry |
|
601 |
./bin/schemagen |
|
602 |
./bin/serialver |
|
603 |
./bin/servertool |
|
604 |
./bin/tnameserv |
|
605 |
./bin/wsgen |
|
606 |
./bin/wsimport |
|
607 |
./bin/xjc |
|
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
608 |
./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
609 |
./demo/jvmti/gctest/lib/libgctest.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
610 |
./demo/jvmti/heapTracker/lib/libheapTracker.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
611 |
./demo/jvmti/heapViewer/lib/libheapViewer.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
612 |
./demo/jvmti/minst/lib/libminst.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
613 |
./demo/jvmti/mtrace/lib/libmtrace.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
614 |
./demo/jvmti/versionCheck/lib/libversionCheck.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
615 |
./demo/jvmti/waiters/lib/libwaiters.dylib |
29157 | 616 |
./Contents/Home/bin/_javaws |
617 |
./Contents/Home/bin/idlj |
|
618 |
./Contents/Home/bin/servertool |
|
619 |
./Contents/Home/lib/shortcuts/JavaWSApplicationStub |
|
620 |
./Contents/Home/lib/jli/libjli.dylib |
|
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
621 |
./Contents/Home/lib/libAppleScriptEngine.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
622 |
./Contents/Home/lib/libattach.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
623 |
./Contents/Home/lib/libawt_lwawt.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
624 |
./Contents/Home/lib/libdeploy.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
625 |
./Contents/Home/lib/libdt_socket.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
626 |
./Contents/Home/lib/libhprof.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
627 |
./Contents/Home/lib/libinstrument.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
628 |
./Contents/Home/lib/libjava_crw_demo.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
629 |
./Contents/Home/lib/libjdwp.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
630 |
./Contents/Home/lib/libjsdt.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
631 |
./Contents/Home/lib/libjsig.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
632 |
./Contents/Home/lib/libmanagement.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
633 |
./Contents/Home/lib/libnpjp2.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
634 |
./Contents/Home/lib/libosx.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
635 |
./Contents/Home/lib/libosxapp.dylib |
29157 | 636 |
./Contents/Home/lib/libverify.dylib |
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
637 |
./Contents/Home/lib/libsaproc.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
638 |
./Contents/Home/lib/libsplashscreen.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
639 |
./Contents/Home/lib/server/libjvm.dylib |
29157 | 640 |
./Contents/Home/lib/deploy/JavaControlPanel.prefPane/Contents/MacOS/JavaControlPanel |
641 |
./Contents/Resources/JavaControlPanelHelper |
|
642 |
./Contents/Resources/JavaUpdater.app/Contents/MacOS/JavaUpdater |
|
643 |
./lib/shortcuts/JavaWSApplicationStub |
|
644 |
./lib/jli/libjli.dylib |
|
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
645 |
./lib/libAppleScriptEngine.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
646 |
./lib/libattach.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
647 |
./lib/libawt_lwawt.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
648 |
./lib/libdeploy.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
649 |
./lib/libdt_socket.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
650 |
./lib/libhprof.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
651 |
./lib/libinstrument.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
652 |
./lib/libjava_crw_demo.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
653 |
./lib/libjdwp.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
654 |
./lib/libjsdt.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
655 |
./lib/libjsig.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
656 |
./lib/libmanagement.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
657 |
./lib/libnpjp2.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
658 |
./lib/libosx.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
659 |
./lib/libosxapp.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
660 |
./lib/libverify.dylib |
14458 | 661 |
./lib/libsaproc.dylib |
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
662 |
./lib/libsplashscreen.dylib |
14458 | 663 |
./lib/server/libjvm.dylib |
664 |
./lib/deploy/JavaControlPanel.prefPane/Contents/MacOS/JavaControlPanel |
|
14111 | 665 |
" |
666 |
||
667 |
SORT_SYMBOLS=" |
|
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
668 |
./Contents/Home/lib/libsaproc.dylib |
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27138
diff
changeset
|
669 |
./lib/libsaproc.dylib |
14111 | 670 |
" |
671 |
||
29157 | 672 |
ACCEPTED_SMALL_SIZE_DIFF="$ACCEPTED_BIN_DIFF" |
673 |
||
674 |
DIS_DIFF_FILTER="$SED \ |
|
675 |
-e 's/0x[0-9a-f]\{4,16\}/<HEXSTR>/g'" |
|
676 |
||
14111 | 677 |
fi |