runSerialBench.sh revision 0
0N/A#
2273N/A# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
1472N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
1472N/A# CA 95054 USA or visit www.sun.com if you need additional information or
1472N/A# have any questions.
0N/A#
0N/A
0N/A# @test
1879N/A#
1879N/A# @summary The Serialization benchmark test. This script is only
1879N/A# used to run the test under JTREG.
1879N/A#
1879N/A# @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark
1879N/A# @build bench.Reporter bench.XmlReporter bench.ConfigFormatException
1879N/A# @build bench.Harness bench.TextReporter
1879N/A# @build bench.serial.BooleanArrays bench.serial.Booleans
1879N/A# @build bench.serial.ByteArrays bench.serial.Bytes bench.serial.CharArrays
1879N/A# @build bench.serial.Chars bench.serial.ClassDesc bench.serial.Cons
1879N/A# @build bench.serial.CustomDefaultObjTrees bench.serial.CustomObjTrees
1879N/A# @build bench.serial.DoubleArrays bench.serial.Doubles
1879N/A# @build bench.serial.ExternObjTrees bench.serial.FloatArrays
1879N/A# @build bench.serial.Floats bench.serial.GetPutFieldTrees
1879N/A# @build bench.serial.IntArrays bench.serial.Ints bench.serial.LongArrays
1879N/A# @build bench.serial.Longs bench.serial.Main bench.serial.ObjArrays
1879N/A# @build bench.serial.ObjTrees bench.serial.ProxyArrays
1879N/A# @build bench.serial.ProxyClassDesc bench.serial.RepeatObjs
1879N/A# @build bench.serial.ReplaceTrees bench.serial.ShortArrays
1879N/A# @build bench.serial.Shorts bench.serial.SmallObjTrees
1879N/A# @build bench.serial.StreamBuffer bench.serial.Strings
1879N/A#
1879N/A# @run shell/timeout=1800 runSerialBench.sh
1879N/A#
1879N/A# @author Mike Warres, Nigel Daley
1879N/A
1879N/Aecho "Starting serialization benchmark "
1879N/A
1879N/A$TESTJAVA/bin/java \
1879N/A -server \
1879N/A -cp $TESTCLASSES \
1879N/A bench.serial.Main \
1879N/A -c $TESTSRC/bench/serial/jtreg-config &
1879N/A
1879N/A