jdk/test/sun/tools/jps/jps-Vvml_2.sh
changeset 13594 63741c133cf4
parent 10604 3f7bd2de5067
equal deleted inserted replaced
13593:13b8e330bc78 13594:63741c133cf4
     1 #
     1 #
     2 # Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.
     7 # published by the Free Software Foundation.
    49 #
    49 #
    50 # Note: this test can not pass on a VM with UsePerfData disabled by default,
    50 # Note: this test can not pass on a VM with UsePerfData disabled by default,
    51 # and we can not set -XX:+UsePerfData as that invalidates the test premise of
    51 # and we can not set -XX:+UsePerfData as that invalidates the test premise of
    52 # there being no jvm flags
    52 # there being no jvm flags
    53 
    53 
    54 ${JAVA} -cp ${TESTCLASSES} Sleeper &
    54 ${JAVA} -cp ${TESTCLASSPATH:-${TESTCLASSES}} Sleeper &
    55 SLEEPER_PID=$!
    55 SLEEPER_PID=$!
    56 
    56 
    57 ${JPS} -J-XX:Flags=${TESTSRC}/vmflags -Vvml | awk -f ${TESTSRC}/jps-Vvml_Output2.awk
    57 ${JPS} -J-XX:Flags=${TESTSRC}/vmflags -Vvml | awk -f ${TESTSRC}/jps-Vvml_Output2.awk
    58 RC=$?
    58 RC=$?
    59 
    59