test/sun/tools/common/ApplicationSetup.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
jdk-tl Cdiff test/sun/tools/common/ApplicationSetup.sh
test/sun/tools/common/ApplicationSetup.sh
Print this page
*** 1,9 ****
#!/bin/sh
#
! # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
--- 1,9 ----
#!/bin/sh
#
! # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
*** 41,51 ****
#
startApplication()
{
appOutput="${TESTCLASSES}/Application.out"
! ${JAVA} -classpath "${TESTCLASSES}" "$@" > "$appOutput" 2>&1 &
appJavaPid="$!"
appOtherPid=
appPidList="$appJavaPid"
echo "INFO: waiting for $1 to initialize..."
--- 41,51 ----
#
startApplication()
{
appOutput="${TESTCLASSES}/Application.out"
! ${JAVA} -XX:+UsePerfData -classpath "${TESTCLASSES}" "$@" > "$appOutput" 2>&1 &
appJavaPid="$!"
appOtherPid=
appPidList="$appJavaPid"
echo "INFO: waiting for $1 to initialize..."
*** 129,139 ****
# may still be running because the application has not yet reached the
# shutdown check.
#
stopApplication()
{
! $JAVA -classpath "${TESTCLASSES}" ShutdownSimpleApplication $1
}
# Wait for a simple application to stop running.
#
--- 129,139 ----
# may still be running because the application has not yet reached the
# shutdown check.
#
stopApplication()
{
! $JAVA -XX:+UsePerfData -classpath "${TESTCLASSES}" ShutdownSimpleApplication $1
}
# Wait for a simple application to stop running.
#
test/sun/tools/common/ApplicationSetup.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File