8006410: allocating without ResourceMark when CompileCommand was specified

Reviewed-by: kvn, vlivanov
This commit is contained in:
Igor Ignatyev 2013-02-01 02:50:23 -08:00 committed by Vladimir Ivanov
parent 0c7d523859
commit a25db953cc
5 changed files with 7 additions and 1 deletions

View file

@ -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());
}