Mercurial > hg > graal-compiler
comparison agent/test/libproc/libproctest.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. |
57 # dump core | 57 # dump core |
58 gcore $pid | 58 gcore $pid |
59 kill -9 $pid | 59 kill -9 $pid |
60 | 60 |
61 | 61 |
62 OPTIONS="-Djava.library.path=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/../solaris/`uname -p` -Dsun.jvm.hotspot.debugger.useProcDebugger" | 62 OPTIONS="-Djava.library.path=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/../solaris/`uname -p`" |
63 | 63 |
64 # run libproc client | 64 # run libproc client |
65 $SA_JAVA -showversion ${OPTIONS} -cp $STARTDIR/../../build/classes::$STARTDIR/../sa.jar:$STARTDIR LibprocClient x core.$pid | 65 $SA_JAVA -showversion ${OPTIONS} -cp $STARTDIR/../../build/classes::$STARTDIR/../sa.jar:$STARTDIR LibprocClient x core.$pid |
66 | 66 |
67 # delete core | 67 # delete core |