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