--- old/test/sun/tools/jps/jps-m_2.sh Mon Sep 19 00:34:42 2011 +++ new/test/sun/tools/jps/jps-m_2.sh Mon Sep 19 00:34:41 2011 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 @@ -46,10 +46,10 @@ # any args to Sleeper.main(), as we need to inspect jps output # for the no args condition. # -${JAVA} -cp ${TESTCLASSES} Sleeper & +${JAVA} -XX:+UsePerfData -cp ${TESTCLASSES} Sleeper & SLEEPER_PID=$! -${JPS} -m | awk -f ${TESTSRC}/jps-m_Output2.awk +${JPS} -J-XX:+UsePerfData -m | awk -f ${TESTSRC}/jps-m_Output2.awk RC=$? cleanup