hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 27408 9a8090dd6ec3
parent 26436 f565c16d5513
child 27880 afb974a04396
equal deleted inserted replaced
27407:e9d2d39f0062 27408:9a8090dd6ec3
  1171 
  1171 
  1172 #if defined(COMPILER2) || defined(SHARK)
  1172 #if defined(COMPILER2) || defined(SHARK)
  1173 void Deoptimization::load_class_by_index(constantPoolHandle constant_pool, int index, TRAPS) {
  1173 void Deoptimization::load_class_by_index(constantPoolHandle constant_pool, int index, TRAPS) {
  1174   // in case of an unresolved klass entry, load the class.
  1174   // in case of an unresolved klass entry, load the class.
  1175   if (constant_pool->tag_at(index).is_unresolved_klass()) {
  1175   if (constant_pool->tag_at(index).is_unresolved_klass()) {
  1176     Klass* tk = constant_pool->klass_at(index, CHECK);
  1176     Klass* tk = constant_pool->klass_at_ignore_error(index, CHECK);
  1177     return;
  1177     return;
  1178   }
  1178   }
  1179 
  1179 
  1180   if (!constant_pool->tag_at(index).is_symbol()) return;
  1180   if (!constant_pool->tag_at(index).is_symbol()) return;
  1181 
  1181