diff src/share/vm/ci/ciMethod.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 beebba0acc11
children 6a51fc70a15e
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethod.cpp	Fri Jan 25 03:03:23 2013 -0800
+++ b/src/share/vm/ci/ciMethod.cpp	Fri Feb 01 02:50:23 2013 -0800
@@ -1178,6 +1178,7 @@
 
 void ciMethod::dump_replay_data(outputStream* st) {
   ASSERT_IN_VM;
+  ResourceMark rm;
   Method* method = get_Method();
   Klass*  holder = method->method_holder();
   st->print_cr("ciMethod %s %s %s %d %d %d %d %d",