mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8006410: allocating without ResourceMark when CompileCommand was specified
Reviewed-by: kvn, vlivanov
This commit is contained in:
parent
0c7d523859
commit
a25db953cc
5 changed files with 7 additions and 1 deletions
|
@ -152,6 +152,7 @@ char* Symbol::as_C_string_flexible_buffer(Thread* t,
|
|||
}
|
||||
|
||||
void Symbol::print_symbol_on(outputStream* st) const {
|
||||
ResourceMark rm;
|
||||
st = st ? st : tty;
|
||||
st->print("%s", as_quoted_ascii());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue