diff -r 57ad70bcf06c -r 15936b142f86 src/hotspot/share/utilities/xmlstream.cpp --- a/src/hotspot/share/utilities/xmlstream.cpp Wed Nov 13 11:27:50 2019 +0000 +++ b/src/hotspot/share/utilities/xmlstream.cpp Wed Nov 13 08:23:23 2019 -0500 @@ -385,9 +385,9 @@ // ------------------------------------------------------------------ // Output a method attribute, in the form " method='pkg/cls name sig'". // This is used only when there is no ciMethod available. -void xmlStream::method(const methodHandle& method) { +void xmlStream::method(Method* method) { assert_if_no_error(inside_attrs(), "printing attributes"); - if (method.is_null()) return; + if (method == NULL) return; print_raw(" method='"); method_text(method); print("' bytes='%d'", method->code_size()); @@ -413,10 +413,10 @@ } } -void xmlStream::method_text(const methodHandle& method) { +void xmlStream::method_text(Method* method) { ResourceMark rm; assert_if_no_error(inside_attrs(), "printing attributes"); - if (method.is_null()) return; + if (method == NULL) return; text()->print("%s", method->method_holder()->external_name()); print_raw(" "); // " " is easier for tools to parse than "::" method->name()->print_symbol_on(text());