test/com/sun/management/HotSpotDiagnosticMXBean/DumpHeap.sh
Print this page
@@ -44,11 +44,11 @@
failed=0
# we use the pid of this shell process to name the heap dump output file.
DUMPFILE="java_pid$$.hprof"
-${TESTJAVA}/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES \
+${TESTJAVA}/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} -classpath $TESTCLASSES \
DumpHeap ${DUMPFILE} || exit 2
# check that heap dump is parsable
${COMPILEJAVA}/bin/jhat ${TESTTOOLVMOPTS} -parseonly true ${DUMPFILE}
if [ $? != 0 ]; then failed=1; fi