equal
deleted
inserted
replaced
75 } |
75 } |
76 } |
76 } |
77 }; |
77 }; |
78 |
78 |
79 static void print_slot(outputStream* str, Symbol* name, Symbol* signature) { |
79 static void print_slot(outputStream* str, Symbol* name, Symbol* signature) { |
80 ResourceMark rm; |
|
81 str->print("%s%s", name->as_C_string(), signature->as_C_string()); |
80 str->print("%s%s", name->as_C_string(), signature->as_C_string()); |
82 } |
81 } |
83 |
82 |
84 static void print_method(outputStream* str, Method* mo, bool with_class=true) { |
83 static void print_method(outputStream* str, Method* mo, bool with_class=true) { |
85 ResourceMark rm; |
|
86 if (with_class) { |
84 if (with_class) { |
87 str->print("%s.", mo->klass_name()->as_C_string()); |
85 str->print("%s.", mo->klass_name()->as_C_string()); |
88 } |
86 } |
89 print_slot(str, mo->name(), mo->signature()); |
87 print_slot(str, mo->name(), mo->signature()); |
90 } |
88 } |