1.1 --- a/src/share/vm/ci/ciInstanceKlass.cpp Fri Jan 25 03:03:23 2013 -0800 1.2 +++ b/src/share/vm/ci/ciInstanceKlass.cpp Fri Feb 01 02:50:23 2013 -0800 1.3 @@ -580,6 +580,7 @@ 1.4 } 1.5 void do_field(fieldDescriptor* fd) { 1.6 if (fd->is_final() && !fd->has_initial_value()) { 1.7 + ResourceMark rm; 1.8 oop mirror = fd->field_holder()->java_mirror(); 1.9 _out->print("staticfield %s %s %s ", _holder, fd->name()->as_quoted_ascii(), fd->signature()->as_quoted_ascii()); 1.10 switch (fd->field_type()) { 1.11 @@ -643,6 +644,8 @@ 1.12 1.13 void ciInstanceKlass::dump_replay_data(outputStream* out) { 1.14 ASSERT_IN_VM; 1.15 + ResourceMark rm; 1.16 + 1.17 InstanceKlass* ik = get_instanceKlass(); 1.18 ConstantPool* cp = ik->constants(); 1.19