mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8167995: -Xlog:defaultmethods=debug: lengthy method descriptor triggers "StringStream is re-allocated with a different ResourceMark"
Removed nested ResourceMark declarations Reviewed-by: dholmes, hseigel
This commit is contained in:
parent
fd45fd98b7
commit
420a682afa
1 changed files with 0 additions and 2 deletions
|
@ -77,12 +77,10 @@ class PseudoScope : public ResourceObj {
|
|||
};
|
||||
|
||||
static void print_slot(outputStream* str, Symbol* name, Symbol* signature) {
|
||||
ResourceMark rm;
|
||||
str->print("%s%s", name->as_C_string(), signature->as_C_string());
|
||||
}
|
||||
|
||||
static void print_method(outputStream* str, Method* mo, bool with_class=true) {
|
||||
ResourceMark rm;
|
||||
if (with_class) {
|
||||
str->print("%s.", mo->klass_name()->as_C_string());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue