diff src/share/vm/ci/ciEnv.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 80e866b1d053
children df8462fbe585
line wrap: on
line diff
--- a/src/share/vm/ci/ciEnv.cpp	Fri Jan 25 03:03:23 2013 -0800
+++ b/src/share/vm/ci/ciEnv.cpp	Fri Feb 01 02:50:23 2013 -0800
@@ -1168,7 +1168,7 @@
 
 void ciEnv::dump_replay_data(outputStream* out) {
   ASSERT_IN_VM;
-
+  ResourceMark rm;
 #if INCLUDE_JVMTI
   out->print_cr("JvmtiExport can_access_local_variables %d",     _jvmti_can_access_local_variables);
   out->print_cr("JvmtiExport can_hotswap_or_post_breakpoint %d", _jvmti_can_hotswap_or_post_breakpoint);