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

@ -374,6 +374,7 @@ void ciMethodData::print_impl(outputStream* st) {
void ciMethodData::dump_replay_data(outputStream* out) {
ASSERT_IN_VM;
ResourceMark rm;
MethodData* mdo = get_MethodData();
Method* method = mdo->method();
Klass* holder = method->method_holder();