hotspot/src/share/vm/ci/ciReplay.cpp
changeset 17376 4ee999c3c007
parent 17123 a8e62eed2e3e
child 18984 a0fce9081603
equal deleted inserted replaced
17374:a0b5154f6f6f 17376:4ee999c3c007
   490       if (had_error()) {
   490       if (had_error()) {
   491         return;
   491         return;
   492       }
   492       }
   493       Klass* k = parse_klass(CHECK);
   493       Klass* k = parse_klass(CHECK);
   494       rec->oops_offsets[i] = offset;
   494       rec->oops_offsets[i] = offset;
   495       rec->oops_handles[i] = (jobject)(new KlassHandle(THREAD, k));
   495       KlassHandle *kh = NEW_C_HEAP_OBJ(KlassHandle, mtCompiler);
       
   496       ::new ((void*)kh) KlassHandle(THREAD, k);
       
   497       rec->oops_handles[i] = (jobject)kh;
   496     }
   498     }
   497   }
   499   }
   498 
   500 
   499   // instanceKlass <name>
   501   // instanceKlass <name>
   500   //
   502   //