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