runSerialBench.sh revision 2362
0N/A#
2362N/A# Copyright (c) 2005, Oracle and/or its affiliates. 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#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
0N/A#
0N/A
0N/A# @test
0N/A#
0N/A# @summary The Serialization benchmark test. This script is only
0N/A# used to run the test under JTREG.
0N/A#
0N/A# @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark
0N/A# @build bench.Reporter bench.XmlReporter bench.ConfigFormatException
0N/A# @build bench.Harness bench.TextReporter
0N/A# @build bench.serial.BooleanArrays bench.serial.Booleans
0N/A# @build bench.serial.ByteArrays bench.serial.Bytes bench.serial.CharArrays
0N/A# @build bench.serial.Chars bench.serial.ClassDesc bench.serial.Cons
0N/A# @build bench.serial.CustomDefaultObjTrees bench.serial.CustomObjTrees
0N/A# @build bench.serial.DoubleArrays bench.serial.Doubles
0N/A# @build bench.serial.ExternObjTrees bench.serial.FloatArrays
0N/A# @build bench.serial.Floats bench.serial.GetPutFieldTrees
0N/A# @build bench.serial.IntArrays bench.serial.Ints bench.serial.LongArrays
0N/A# @build bench.serial.Longs bench.serial.Main bench.serial.ObjArrays
0N/A# @build bench.serial.ObjTrees bench.serial.ProxyArrays
0N/A# @build bench.serial.ProxyClassDesc bench.serial.RepeatObjs
0N/A# @build bench.serial.ReplaceTrees bench.serial.ShortArrays
0N/A# @build bench.serial.Shorts bench.serial.SmallObjTrees
0N/A# @build bench.serial.StreamBuffer bench.serial.Strings
0N/A#
0N/A# @run shell/timeout=1800 runSerialBench.sh
0N/A#
0N/A# @author Mike Warres, Nigel Daley
0N/A
0N/Aecho "Starting serialization benchmark "
0N/A
0N/A$TESTJAVA/bin/java \
0N/A -server \
0N/A -cp $TESTCLASSES \
0N/A bench.serial.Main \
0N/A -c $TESTSRC/bench/serial/jtreg-config &
0N/A