common/bin/compare_exceptions.sh.incl
author aeriksso
Thu, 03 Mar 2016 12:36:54 +0100
changeset 36401 fb588215d43d
parent 35747 aeaa6d0101a8
child 36289 0a4264edc184
permissions -rw-r--r--
8150986: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failing because expects HPROF JAVA PROFILE 1.0.1 file format Reviewed-by: dcubed, dsamersoff
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
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    92
      ./bin/jmap
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    93
      ./bin/jps
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    94
      ./bin/jrunscript
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    95
      ./bin/jsadebugd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    96
      ./bin/jshell
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    97
      ./bin/jstack
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    98
      ./bin/jstat
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    99
      ./bin/jstatd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   100
      ./bin/keytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   101
      ./bin/orbd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   102
      ./bin/pack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   103
      ./bin/policytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   104
      ./bin/rmic
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   105
      ./bin/rmid
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   106
      ./bin/rmiregistry
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   107
      ./bin/schemagen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   108
      ./bin/serialver
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   109
      ./bin/servertool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   110
      ./bin/tnameserv
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   111
      ./bin/wsgen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   112
      ./bin/wsimport
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   113
      ./bin/xjc
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   114
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   115
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   116
  # Issue with __FILE__ usage in generated header files prevent clean fulldump diff of
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   117
  # server jvm with old hotspot build.
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   118
  KNOWN_FULLDUMP_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   119
      ./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
   120
      ./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
   121
      ./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
   122
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   123
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   124
  if [ "$OPENJDK_TARGET_CPU" = "x86" ]; then
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   125
    KNOWN_DIS_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   126
        ./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
   127
        "
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   128
    DIS_DIFF_FILTER="$SED \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   129
        -e 's/\(:\t\)\([0-9a-z]\{2,2\} \)\{1,7\}/\1<hex>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   130
        -e 's/0x[0-9a-z]\{2,9\}/<hex>/g'"
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   131
  fi
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   132
fi
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   133
29157
e911c898c14c 8073965: Bring compare.sh up to date with JDK 9
erikj
parents: 27602
diff changeset
   134
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ]; then
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   135
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   136
  STRIP_BEFORE_COMPARE="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   137
      ./demo/jni/Poller/lib/libPoller.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   138
      ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   139
      ./demo/jvmti/gctest/lib/libgctest.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   140
      ./demo/jvmti/heapTracker/lib/libheapTracker.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   141
      ./demo/jvmti/heapViewer/lib/libheapViewer.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   142
      ./demo/jvmti/minst/lib/libminst.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   143
      ./demo/jvmti/mtrace/lib/libmtrace.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   144
      ./demo/jvmti/versionCheck/lib/libversionCheck.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   145
      ./demo/jvmti/waiters/lib/libwaiters.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   146
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   147
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   148
  SORT_SYMBOLS="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   149
      ./lib/amd64/server/libjvm.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   150
      ./lib/amd64/libfontmanager.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   151
      ./lib/amd64/libjimage.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   152
      ./lib/amd64/libsaproc.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   153
      ./lib/amd64/libunpack.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   154
      ./bin/unpack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   155
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   156
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   157
  SKIP_BIN_DIFF="true"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   158
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   159
  ACCEPTED_SMALL_SIZE_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   160
      ./demo/jni/Poller/lib/libPoller.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   161
      ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   162
      ./demo/jvmti/gctest/lib/libgctest.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   163
      ./demo/jvmti/heapTracker/lib/libheapTracker.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   164
      ./demo/jvmti/heapViewer/lib/libheapViewer.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   165
      ./demo/jvmti/minst/lib/libminst.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   166
      ./demo/jvmti/mtrace/lib/libmtrace.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   167
      ./demo/jvmti/versionCheck/lib/libversionCheck.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   168
      ./demo/jvmti/waiters/lib/libwaiters.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   169
      ./lib/amd64/jli/libjli.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   170
      ./lib/amd64/jspawnhelper
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   171
      ./lib/amd64/libJdbcOdbc.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   172
      ./lib/amd64/libattach.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   173
      ./lib/amd64/libawt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   174
      ./lib/amd64/libawt_headless.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   175
      ./lib/amd64/libawt_xawt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   176
      ./lib/amd64/libdcpr.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   177
      ./lib/amd64/libdt_socket.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   178
      ./lib/amd64/libfontmanager.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   179
      ./lib/amd64/libinstrument.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   180
      ./lib/amd64/libj2gss.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   181
      ./lib/amd64/libj2pcsc.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   182
      ./lib/amd64/libj2pkcs11.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   183
      ./lib/amd64/libj2ucrypto.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   184
      ./lib/amd64/libjaas_unix.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   185
      ./lib/amd64/libjava.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   186
      ./lib/amd64/libjawt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   187
      ./lib/amd64/libjdwp.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   188
      ./lib/amd64/libjfr.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   189
      ./lib/amd64/libjpeg.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   190
      ./lib/amd64/libjsdt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   191
      ./lib/amd64/libjsound.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   192
      ./lib/amd64/libkcms.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   193
      ./lib/amd64/liblcms.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   194
      ./lib/amd64/libmanagement.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   195
      ./lib/amd64/libmlib_image.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   196
      ./lib/amd64/libnet.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   197
      ./lib/amd64/libnio.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   198
      ./lib/amd64/libnpt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   199
      ./lib/amd64/libsctp.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   200
      ./lib/amd64/libsplashscreen.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   201
      ./lib/amd64/libsunec.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   202
      ./lib/amd64/libsunwjdga.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   203
      ./lib/amd64/libt2k.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   204
      ./lib/amd64/libunpack.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   205
      ./lib/amd64/libverify.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   206
      ./lib/amd64/libzip.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   207
      ./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
   208
      ./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
   209
      ./lib/amd64/server/libjvm.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   210
      ./lib/amd64/server/libjvm_db.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   211
      ./lib/amd64/server/libjvm_dtrace.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   212
      ./bin/appletviewer
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   213
      ./bin/idlj
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   214
      ./bin/jar
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   215
      ./bin/jarsigner
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   216
      ./bin/java
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   217
      ./bin/javac
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   218
      ./bin/javadoc
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   219
      ./bin/javah
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   220
      ./bin/javap
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   221
      ./bin/jdeps
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   222
      ./bin/jcmd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   223
      ./bin/jconsole
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   224
      ./bin/jdb
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   225
      ./bin/jimage
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   226
      ./bin/jinfo
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   227
      ./bin/jjs
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   228
      ./bin/jmap
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   229
      ./bin/jps
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   230
      ./bin/jrunscript
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   231
      ./bin/jsadebugd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   232
      ./bin/jstack
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   233
      ./bin/jstat
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   234
      ./bin/jstatd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   235
      ./bin/keytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   236
      ./bin/orbd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   237
      ./bin/pack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   238
      ./bin/policytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   239
      ./bin/rmic
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   240
      ./bin/rmid
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   241
      ./bin/rmiregistry
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   242
      ./bin/schemagen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   243
      ./bin/serialver
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   244
      ./bin/servertool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   245
      ./bin/tnameserv
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   246
      ./bin/unpack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   247
      ./bin/wsgen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   248
      ./bin/wsimport
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   249
      ./bin/xjc
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   250
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   251
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   252
  SKIP_FULLDUMP_DIFF="true"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   253
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   254
  # Filter random C++ symbol strings.
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   255
  # Some numbers differ randomly.
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   256
  DIS_DIFF_FILTER="$SED \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   257
      -e 's/\.[a-zA-Z0-9_\$]\{15\}/<SYM>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   258
      -e 's/\(\# \)[0-9a-f]*\( <\)/\1<HEX>\2/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   259
      -e 's/0x[0-9a-f]*$/<HEX>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   260
      -e 's/0x[0-9a-f]*\([,(>]\)/<HEX>\1/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   261
      -e 's/:	[0-9a-f][0-9a-f]\( [0-9a-f][0-9a-f]\)\{2,10\}/:	<NUMS>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   262
      -e 's/     [\.A-Za-z0-9%@]\{16\}$/     <BIN>/g'"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   263
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   264
fi
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   265
29157
e911c898c14c 8073965: Bring compare.sh up to date with JDK 9
erikj
parents: 27602
diff changeset
   266
if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]; then
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   267
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   268
  STRIP_BEFORE_COMPARE="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   269
      ./demo/jni/Poller/lib/libPoller.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   270
      ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   271
      ./demo/jvmti/gctest/lib/libgctest.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   272
      ./demo/jvmti/heapTracker/lib/libheapTracker.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   273
      ./demo/jvmti/heapViewer/lib/libheapViewer.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   274
      ./demo/jvmti/minst/lib/libminst.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   275
      ./demo/jvmti/mtrace/lib/libmtrace.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   276
      ./demo/jvmti/versionCheck/lib/libversionCheck.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   277
      ./demo/jvmti/waiters/lib/libwaiters.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   278
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   279
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   280
  SORT_SYMBOLS="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   281
      ./demo/jvmti/waiters/lib/libwaiters.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   282
      ./lib/sparcv9/libjsig.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   283
      ./lib/sparcv9/libfontmanager.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   284
      ./lib/sparcv9/libjimage.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   285
      ./lib/sparcv9/libsaproc.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   286
      ./lib/sparcv9/libunpack.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   287
      ./lib/sparcv9/server/libjvm.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   288
      ./lib/sparcv9/server/libjvm_dtrace.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   289
      ./bin/unpack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   290
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   291
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   292
  SKIP_BIN_DIFF="true"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   293
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   294
  ACCEPTED_SMALL_SIZE_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   295
      ./demo/jni/Poller/lib/libPoller.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   296
      ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   297
      ./demo/jvmti/gctest/lib/libgctest.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   298
      ./demo/jvmti/heapTracker/lib/libheapTracker.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   299
      ./demo/jvmti/heapViewer/lib/libheapViewer.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   300
      ./demo/jvmti/minst/lib/libminst.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   301
      ./demo/jvmti/mtrace/lib/libmtrace.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   302
      ./demo/jvmti/versionCheck/lib/libversionCheck.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   303
      ./demo/jvmti/waiters/lib/libwaiters.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   304
      ./lib/sparcv9/client/libjvm.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   305
      ./lib/sparcv9/jli/libjli.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   306
      ./lib/sparcv9/jspawnhelper
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   307
      ./lib/sparcv9/libJdbcOdbc.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   308
      ./lib/sparcv9/libattach.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   309
      ./lib/sparcv9/libawt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   310
      ./lib/sparcv9/libawt_headless.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   311
      ./lib/sparcv9/libawt_xawt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   312
      ./lib/sparcv9/libdcpr.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   313
      ./lib/sparcv9/libdt_socket.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   314
      ./lib/sparcv9/libfontmanager.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   315
      ./lib/sparcv9/libinstrument.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   316
      ./lib/sparcv9/libj2gss.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   317
      ./lib/sparcv9/libj2pcsc.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   318
      ./lib/sparcv9/libj2pkcs11.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   319
      ./lib/sparcv9/libj2ucrypto.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   320
      ./lib/sparcv9/libjaas_unix.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   321
      ./lib/sparcv9/libjava.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   322
      ./lib/sparcv9/libjawt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   323
      ./lib/sparcv9/libjdwp.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   324
      ./lib/sparcv9/libjfr.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   325
      ./lib/sparcv9/libjpeg.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   326
      ./lib/sparcv9/libjsdt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   327
      ./lib/sparcv9/libjsound.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   328
      ./lib/sparcv9/libkcms.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   329
      ./lib/sparcv9/liblcms.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   330
      ./lib/sparcv9/libmanagement.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   331
      ./lib/sparcv9/libmlib_image.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   332
      ./lib/sparcv9/libmlib_image_v.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   333
      ./lib/sparcv9/libnet.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   334
      ./lib/sparcv9/libnio.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   335
      ./lib/sparcv9/libnpt.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   336
      ./lib/sparcv9/libsctp.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   337
      ./lib/sparcv9/libsplashscreen.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   338
      ./lib/sparcv9/libsunec.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   339
      ./lib/sparcv9/libsunwjdga.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   340
      ./lib/sparcv9/libt2k.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   341
      ./lib/sparcv9/libunpack.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   342
      ./lib/sparcv9/libverify.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   343
      ./lib/sparcv9/libzip.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   344
      ./lib/sparcv9/server/libjvm.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   345
      ./bin/appletviewer
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   346
      ./bin/idlj
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   347
      ./bin/jar
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   348
      ./bin/jarsigner
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   349
      ./bin/java
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   350
      ./bin/javac
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   351
      ./bin/javadoc
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   352
      ./bin/javah
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   353
      ./bin/javap
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   354
      ./bin/jdeps
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   355
      ./bin/jcmd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   356
      ./bin/jconsole
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   357
      ./bin/jdb
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   358
      ./bin/jimage
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   359
      ./bin/jinfo
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   360
      ./bin/jjs
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   361
      ./bin/jmap
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   362
      ./bin/jps
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   363
      ./bin/jrunscript
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   364
      ./bin/jsadebugd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   365
      ./bin/jstack
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   366
      ./bin/jstat
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   367
      ./bin/jstatd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   368
      ./bin/keytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   369
      ./bin/orbd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   370
      ./bin/pack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   371
      ./bin/policytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   372
      ./bin/rmic
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   373
      ./bin/rmid
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   374
      ./bin/rmiregistry
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   375
      ./bin/schemagen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   376
      ./bin/serialver
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   377
      ./bin/servertool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   378
      ./bin/tnameserv
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   379
      ./bin/unpack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   380
      ./bin/wsgen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   381
      ./bin/wsimport
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   382
      ./bin/xjc
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   383
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   384
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   385
  # Some numbers differ randomly.
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   386
  DIS_DIFF_FILTER="$SED \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   387
      -e 's/\$[a-zA-Z0-9_\$]\{15\}/<SYM>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   388
      -e 's/:	[0-9a-f][0-9a-f]\( [0-9a-f][0-9a-f]\)\{2,10\}/:	<NUMS>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   389
      -e 's/, [0-9a-fx\-]\{1,8\}/, <CONST>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   390
      -e 's/call  [0-9a-f]\{7\}/call  <ADDR>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   391
      -e 's/0x[0-9a-f]\{1,8\}/<HEX>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   392
      -e 's/\! [0-9a-f]\{1,8\} /! <ADDR> /g'"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   393
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   394
  # libjvm.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   395
  # __FILE__ macro usage in debug.hpp causes differences between old and new
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   396
  # hotspot builds in ad_sparc.o and ad_sparc_clone.o. The .o files compare
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   397
  # equal when stripped, but at link time differences appear. Removing
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   398
  # __FILE__ from ShouldNotCallThis() and ShouldNotReachHere() removes
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   399
  # the differences.
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   400
  KNOWN_DIS_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   401
      ./lib/sparcv9/server/libjvm.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   402
      ./lib/sparcv9/libsaproc.so
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   403
  "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   404
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   405
  SKIP_FULLDUMP_DIFF="true"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   406
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   407
fi
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   408
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   409
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   410
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   411
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   412
  ACCEPTED_JARZIP_CONTENTS="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   413
      /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
   414
      /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
   415
      "
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
   416
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   417
  # Probably should add all libs here
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   418
  ACCEPTED_SMALL_SIZE_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   419
      ./demo/jvmti/gctest/lib/gctest.dll
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   420
      ./demo/jvmti/heapTracker/lib/heapTracker.dll
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   421
      ./demo/jvmti/minst/lib/minst.dll
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   422
      ./bin/attach.dll
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   423
      ./bin/jsoundds.dll
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   424
      ./bin/server/jvm.dll
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   425
      ./bin/appletviewer.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   426
      ./bin/idlj.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   427
      ./bin/jar.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   428
      ./bin/jarsigner.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   429
      ./bin/java-rmi.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   430
      ./bin/java.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   431
      ./bin/javac.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   432
      ./bin/javadoc.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   433
      ./bin/javah.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   434
      ./bin/javap.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   435
      ./bin/jdeps.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   436
      ./bin/javaw.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   437
      ./bin/jcmd.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   438
      ./bin/jconsole.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   439
      ./bin/jdb.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   440
      ./bin/jimage.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   441
      ./bin/jinfo.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   442
      ./bin/jjs.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   443
      ./bin/jmap.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   444
      ./bin/jps.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   445
      ./bin/jrunscript.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   446
      ./bin/jsadebugd.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   447
      ./bin/jstack.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   448
      ./bin/jstat.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   449
      ./bin/jstatd.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   450
      ./bin/keytool.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   451
      ./bin/kinit.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   452
      ./bin/klist.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   453
      ./bin/ktab.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   454
      ./bin/orbd.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   455
      ./bin/pack200.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   456
      ./bin/policytool.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   457
      ./bin/rmic.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   458
      ./bin/rmid.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   459
      ./bin/rmiregistry.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   460
      ./bin/schemagen.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   461
      ./bin/serialver.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   462
      ./bin/servertool.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   463
      ./bin/tnameserv.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   464
      ./bin/unpack200.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   465
      ./bin/wsgen.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   466
      ./bin/wsimport.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   467
      ./bin/xjc.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   468
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   469
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   470
  ACCEPTED_DIS_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   471
      ./bin/jabswitch.exe
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   472
      "
15175
ff3529df71a3 8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents: 14986
diff changeset
   473
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   474
  # On windows, there are unavoidable allignment issues making
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   475
  # a perfect disasm diff impossible. Filter out the following:
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   476
  # * Random parts of C++ symbols (this is a bit greedy, but does the trick)
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   477
  #   @XXXXX
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   478
  # * Hexadecimal addresses that are sometimes alligned differently.
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   479
  # * Dates in version strings XXXX_XX_XX.
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   480
  DIS_DIFF_FILTER="$SED \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   481
      -e 's/^  [0-9A-F]\{16\}: //g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   482
      -e 's/[@?][A-Za-z0-9_]\{1,25\}/<SYM>/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   483
      -e 's/\([\[+]\)[0-9A-F]\{4,16\}h\]/\1<HEXSTR>]/g' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   484
      -e 's/_[0-9]\{4\}_[0-9]\{2\}_[0-9]\{2\}/_<DATE>/g'"
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   485
  #DIS_DIFF_FILTER="$CAT"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   486
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   487
  SKIP_BIN_DIFF="true"
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   488
  SKIP_FULLDUMP_DIFF="true"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   489
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   490
fi
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   491
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   492
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   493
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
   494
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   495
  ACCEPTED_JARZIP_CONTENTS="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   496
      /META-INF/INDEX.LIST
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   497
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   498
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   499
  ACCEPTED_BIN_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   500
      ./bin/appletviewer
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   501
      ./bin/idlj
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   502
      ./bin/jar
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   503
      ./bin/jarsigner
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   504
      ./bin/java
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   505
      ./bin/javac
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   506
      ./bin/javadoc
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   507
      ./bin/javah
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   508
      ./bin/javap
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   509
      ./bin/javaws
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   510
      ./bin/jdeps
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   511
      ./bin/jcmd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   512
      ./bin/jconsole
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   513
      ./bin/jdb
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   514
      ./bin/jimage
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   515
      ./bin/jinfo
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   516
      ./bin/jjs
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   517
      ./bin/jmap
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   518
      ./bin/jps
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   519
      ./bin/jrunscript
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   520
      ./bin/jsadebugd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   521
      ./bin/jstack
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   522
      ./bin/jstat
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   523
      ./bin/jstatd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   524
      ./bin/keytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   525
      ./bin/orbd
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   526
      ./bin/pack200
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   527
      ./bin/policytool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   528
      ./bin/rmic
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   529
      ./bin/rmid
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   530
      ./bin/rmiregistry
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   531
      ./bin/schemagen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   532
      ./bin/serialver
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   533
      ./bin/servertool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   534
      ./bin/tnameserv
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   535
      ./bin/wsgen
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   536
      ./bin/wsimport
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   537
      ./bin/xjc
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   538
      ./demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   539
      ./demo/jvmti/gctest/lib/libgctest.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   540
      ./demo/jvmti/heapTracker/lib/libheapTracker.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   541
      ./demo/jvmti/heapViewer/lib/libheapViewer.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   542
      ./demo/jvmti/minst/lib/libminst.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   543
      ./demo/jvmti/mtrace/lib/libmtrace.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   544
      ./demo/jvmti/versionCheck/lib/libversionCheck.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   545
      ./demo/jvmti/waiters/lib/libwaiters.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   546
      ./Contents/Home/bin/_javaws
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   547
      ./Contents/Home/bin/javaws
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   548
      ./Contents/Home/bin/idlj
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   549
      ./Contents/Home/bin/servertool
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   550
      ./Contents/Home/lib/shortcuts/JavaWSApplicationStub
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   551
      ./Contents/Home/lib/jli/libjli.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   552
      ./Contents/Home/lib/jspawnhelper
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   553
      ./Contents/Home/lib/libAppleScriptEngine.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   554
      ./Contents/Home/lib/libattach.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   555
      ./Contents/Home/lib/libawt_lwawt.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   556
      ./Contents/Home/lib/libdeploy.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   557
      ./Contents/Home/lib/libdt_socket.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   558
      ./Contents/Home/lib/libinstrument.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   559
      ./Contents/Home/lib/libjdwp.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   560
      ./Contents/Home/lib/libjsdt.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   561
      ./Contents/Home/lib/libjsig.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   562
      ./Contents/Home/lib/libmanagement.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   563
      ./Contents/Home/lib/libnpjp2.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   564
      ./Contents/Home/lib/libosx.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   565
      ./Contents/Home/lib/libosxapp.dylib
35747
aeaa6d0101a8 8149647: Incremental enhancements from build-infra
ihse
parents: 35744
diff changeset
   566
      ./Contents/Home/lib/libosxui.dylib
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   567
      ./Contents/Home/lib/libverify.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   568
      ./Contents/Home/lib/libsaproc.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   569
      ./Contents/Home/lib/libsplashscreen.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   570
      ./Contents/Home/lib/server/libjvm.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   571
      ./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
   572
      ./Contents/Resources/JavaControlPanelHelper
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   573
      ./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
   574
      ./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
   575
      ./lib/shortcuts/JavaWSApplicationStub
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   576
      ./lib/jli/libjli.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   577
      ./lib/jspawnhelper
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   578
      ./lib/libAppleScriptEngine.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   579
      ./lib/libattach.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   580
      ./lib/libawt_lwawt.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   581
      ./lib/libdeploy.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   582
      ./lib/libdt_socket.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   583
      ./lib/libinstrument.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   584
      ./lib/libjdwp.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   585
      ./lib/libjsdt.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   586
      ./lib/libjsig.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   587
      ./lib/libmanagement.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   588
      ./lib/libnpjp2.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   589
      ./lib/libosx.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   590
      ./lib/libosxapp.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   591
      ./lib/libosxui.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   592
      ./lib/libverify.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   593
      ./lib/libsaproc.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   594
      ./lib/libsplashscreen.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   595
      ./lib/server/libjvm.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   596
      ./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
   597
      ./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
   598
      ./Versions/A/Sparkle
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   599
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   600
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   601
  SORT_SYMBOLS="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   602
      ./Contents/Home/lib/libsaproc.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   603
      ./lib/libsaproc.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   604
      ./lib/libjsig.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   605
      "
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   606
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   607
  ACCEPTED_SMALL_SIZE_DIFF="$ACCEPTED_BIN_DIFF"
29157
e911c898c14c 8073965: Bring compare.sh up to date with JDK 9
erikj
parents: 27602
diff changeset
   608
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   609
  DIS_DIFF_FILTER="LANG=C $SED \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   610
      -e 's/0x[0-9a-f]\{3,16\}/<HEXSTR>/g' -e 's/^[0-9a-f]\{12,20\}/<ADDR>/' \
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   611
      -e 's/## literal pool for: .Java HotSpot(TM) 64-Bit Server VM.*/<COMMENT>/g'
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
   612
      "
29157
e911c898c14c 8073965: Bring compare.sh up to date with JDK 9
erikj
parents: 27602
diff changeset
   613
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   614
fi