Mercurial > hg > truffle
comparison agent/test/libproc/libproctest64.sh @ 6782:5a98bf7d847b
6879063: SA should use hsdis for disassembly
Summary: We should in SA to use hsdis for it like the JVM does to replace the current java based disassembler.
Reviewed-by: twisti, jrose, sla
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Mon, 24 Sep 2012 12:44:00 -0700 |
parents | c18cbe5936b8 |
children |
comparison
equal
deleted
inserted
replaced
6780:8440414b0fd8 | 6782:5a98bf7d847b |
---|---|
1 #!/bin/ksh | 1 #!/bin/ksh |
2 | 2 |
3 # | 3 # |
4 # Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. | 4 # Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
6 # | 6 # |
7 # This code is free software; you can redistribute it and/or modify it | 7 # This code is free software; you can redistribute it and/or modify it |
8 # under the terms of the GNU General Public License version 2 only, as | 8 # under the terms of the GNU General Public License version 2 only, as |
9 # published by the Free Software Foundation. | 9 # published by the Free Software Foundation. |
56 | 56 |
57 # dump core | 57 # dump core |
58 gcore $pid | 58 gcore $pid |
59 kill -9 $pid | 59 kill -9 $pid |
60 | 60 |
61 OPTIONS="-Djava.library.path=$STARTDIR/../src/os/solaris/proc/sparcv9:$STARTDIR/../solaris/sparcv9 -Dsun.jvm.hotspot.debugger.useProcDebugger" | 61 OPTIONS="-Djava.library.path=$STARTDIR/../src/os/solaris/proc/sparcv9:$STARTDIR/../solaris/sparcv9" |
62 | 62 |
63 # run libproc client | 63 # run libproc client |
64 $SA_JAVA -d64 -showversion ${OPTIONS} -cp $STARTDIR/../../build/classes::$STARTDIR/../sa.jar:$STARTDIR LibprocClient x core.$pid | 64 $SA_JAVA -d64 -showversion ${OPTIONS} -cp $STARTDIR/../../build/classes::$STARTDIR/../sa.jar:$STARTDIR LibprocClient x core.$pid |
65 | 65 |
66 # delete core | 66 # delete core |