test/sun/tools/jstack/Basic.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
jdk-tl Cdiff test/sun/tools/jstack/Basic.sh
test/sun/tools/jstack/Basic.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.
*** 43,57 ****
set +e
failed=0
# normal
! $JSTACK $appJavaPid 2>&1
if [ $? != 0 ]; then failed=1; fi
# long
! $JSTACK -l $appJavaPid 2>&1
if [ $? != 0 ]; then failed=1; fi
set -e
stopApplication "${PORTFILE}"
--- 43,57 ----
set +e
failed=0
# normal
! $JSTACK -J-XX:+UsePerfData $appJavaPid 2>&1
if [ $? != 0 ]; then failed=1; fi
# long
! $JSTACK -J-XX:+UsePerfData -l $appJavaPid 2>&1
if [ $? != 0 ]; then failed=1; fi
set -e
stopApplication "${PORTFILE}"
test/sun/tools/jstack/Basic.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File