test/sun/tools/jps/jps-Vvml_2.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
jdk-tl Cdiff test/sun/tools/jps/jps-Vvml_2.sh
test/sun/tools/jps/jps-Vvml_2.sh
Print this page
*** 1,7 ****
#
! # Copyright (c) 2004, 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,7 ----
#
! # Copyright (c) 2004, 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.
*** 45,54 ****
--- 45,58 ----
# fire up a Sleeper that block indefinitely - but don't pass
# any args to Sleeper.main() or any jvm flags or options, as we
# need to inspect jps output for the no args condition.
#
+ # Note: this test can not pass on a VM with UsePerfData disabled by default,
+ # and we can not set -XX:+UsePerfData as that invalidates the test premise of
+ # there being no jvm flags
+
${JAVA} -cp ${TESTCLASSES} Sleeper &
SLEEPER_PID=$!
${JPS} -J-XX:Flags=${TESTSRC}/vmflags -Vvml | awk -f ${TESTSRC}/jps-Vvml_Output2.awk
RC=$?
test/sun/tools/jps/jps-Vvml_2.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File