Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciMethodData.cpp @ 7990:fcc9e7681d63
8006410: allocating without ResourceMark when CompileCommand was specified
Reviewed-by: kvn, vlivanov
Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author | vlivanov |
---|---|
date | Fri, 01 Feb 2013 02:50:23 -0800 |
parents | bd7a7ce2e264 |
children | 5cc2d82aa82a |
comparison
equal
deleted
inserted
replaced
7946:6fbe8a57549d | 7990:fcc9e7681d63 |
---|---|
372 ciMetadata::print_impl(st); | 372 ciMetadata::print_impl(st); |
373 } | 373 } |
374 | 374 |
375 void ciMethodData::dump_replay_data(outputStream* out) { | 375 void ciMethodData::dump_replay_data(outputStream* out) { |
376 ASSERT_IN_VM; | 376 ASSERT_IN_VM; |
377 ResourceMark rm; | |
377 MethodData* mdo = get_MethodData(); | 378 MethodData* mdo = get_MethodData(); |
378 Method* method = mdo->method(); | 379 Method* method = mdo->method(); |
379 Klass* holder = method->method_holder(); | 380 Klass* holder = method->method_holder(); |
380 out->print("ciMethodData %s %s %s %d %d", | 381 out->print("ciMethodData %s %s %s %d %d", |
381 holder->name()->as_quoted_ascii(), | 382 holder->name()->as_quoted_ascii(), |