equal
deleted
inserted
replaced
24 # |
24 # |
25 # @test |
25 # @test |
26 # @bug 4530538 |
26 # @bug 4530538 |
27 # @summary Run MemoryManagement test with parallel GC |
27 # @summary Run MemoryManagement test with parallel GC |
28 # @author Mandy Chung |
28 # @author Mandy Chung |
|
29 # |
29 # @requires vm.gc=="Parallel" | vm.gc=="null" |
30 # @requires vm.gc=="Parallel" | vm.gc=="null" |
30 # @modules java.management |
31 # |
31 # @run build MemoryManagement |
32 # @run build MemoryManagement |
32 # @run shell/timeout=600 MemoryManagementParallelGC.sh |
33 # @run shell/timeout=600 MemoryManagementParallelGC.sh |
33 # |
34 # |
34 |
35 |
35 #Set appropriate jdk |
36 #Set appropriate jdk |
40 echo "--Error: TESTJAVA must be defined as the pathname of a jdk to test." |
41 echo "--Error: TESTJAVA must be defined as the pathname of a jdk to test." |
41 exit 1 |
42 exit 1 |
42 fi |
43 fi |
43 |
44 |
44 runOne() |
45 runOne() |
45 { |
46 { |
46 echo "runOne $@" |
47 echo "runOne $@" |
47 $TESTJAVA/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES $@ || exit 2 |
48 $TESTJAVA/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES $@ || exit 2 |
48 } |
49 } |
49 |
50 |
50 # Test MemoryManagement with parallel collector |
51 # Test MemoryManagement with parallel collector |