alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (README)

This example Java source code file (README) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

all, group, jar, jdk_dir\=, jtreg, performance, res_dir, rmi, suite_dir, the, this, vmopts, work_dir, work_dir\=

The README Java example source code

This directory contains the juicer and two benchmark tests.  
Taken together, these tests form the RMI reliability 
suite.  These three tests each function in two modes:

  1) as short running JTREG regression tests

  2) as long running RMI reliability tests

In addition, the two benchmark tests serves a third role:

  3) as RMI and Serialization Performance tests run by
     the Performance Group (http://perfwww.ireland/)

All of the ksh scripts under this directory are used 
to run the RMI reliability suite and are not used
to run the JTREG regression tests.  The one exception
to this is the scripts/create_benchmark_jars.ksh
script which creates the JAR files for the benchmarks
that are transfered to the Performance Group.

------------------------------------------------------

The remainder of this file describes how to run the 
RMI reliability suite:

The launch_reliability.ksh script will build the
reliability suite, execute it, and clean up after itself.
It can be run from any directory with the proper 
command line args. 

For example, to run for 72 hours:

export SUITE_DIR=<path to this directory>
export JDK_DIR=<path to JDK being tested>
export RES_DIR=<path to results dir for this run>
export WORK_DIR=<path to temp working dir for this run>
export VMOPTS="-server -showversion"

rm -rf $RES_DIR $WORK_DIR
mkdir -p $RES_DIR $WORK_DIR

${SUITE_DIR}/launch_reliability.ksh \
        $JDK_DIR \
        $WORK_DIR \
        $RES_DIR \
        ksh \
        $SUITE_DIR \
        72 \
        $VMOPTS >> $RES_DIR/launch_reliability.log 2>&1 &

Other Java examples (source code examples)

Here is a short list of links related to this Java README source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.