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