comparison agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java @ 1040:873ec3787992

6892186: SA does not dump debug info for scalar replaced objects Summary: Implement scalar replaced objects debug info dump in SA. Reviewed-by: twisti
author kvn
date Wed, 21 Oct 2009 09:15:33 -0700
parents d1605aabd0a1
children bc32f286fae0
comparison
equal deleted inserted replaced
1039:987e948ebbc8 1040:873ec3787992
924 924
925 } 925 }
926 } 926 }
927 } 927 }
928 }, 928 },
929 new Command("dumpcodecache", "dumpcodecache", false) {
930 public void doit(Tokens t) {
931 if (t.countTokens() != 0) {
932 usage();
933 } else {
934 final PrintStream fout = out;
935 final HTMLGenerator gen = new HTMLGenerator(false);
936 CodeCacheVisitor v = new CodeCacheVisitor() {
937 public void prologue(Address start, Address end) {
938 }
939 public void visit(CodeBlob blob) {
940 fout.println(gen.genHTML(blob.instructionsBegin()));
941 }
942 public void epilogue() {
943 }
944
945
946 };
947 VM.getVM().getCodeCache().iterate(v);
948 }
949 }
950 },
929 new Command("where", "where { -a | id }", false) { 951 new Command("where", "where { -a | id }", false) {
930 public void doit(Tokens t) { 952 public void doit(Tokens t) {
931 if (t.countTokens() != 1) { 953 if (t.countTokens() != 1) {
932 usage(); 954 usage();
933 } else { 955 } else {