src/hotspot/share/jvmci/jvmciCompilerToVM.cpp
changeset 55159 a38132298eda
parent 54847 59ea39bb2809
child 55206 2fe2063fe567
equal deleted inserted replaced
55158:d3e404cc3972 55159:a38132298eda
  1211                   if (sv->value().is_null()) {
  1211                   if (sv->value().is_null()) {
  1212                     objects->append(sv);
  1212                     objects->append(sv);
  1213                   }
  1213                   }
  1214                 }
  1214                 }
  1215               }
  1215               }
  1216               bool realloc_failures = Deoptimization::realloc_objects(thread, fst.current(), objects, CHECK_NULL);
  1216               bool realloc_failures = Deoptimization::realloc_objects(thread, fst.current(), fst.register_map(), objects, CHECK_NULL);
  1217               Deoptimization::reassign_fields(fst.current(), fst.register_map(), objects, realloc_failures, false);
  1217               Deoptimization::reassign_fields(fst.current(), fst.register_map(), objects, realloc_failures, false);
  1218               realloc_called = true;
  1218               realloc_called = true;
  1219 
  1219 
  1220               GrowableArray<ScopeValue*>* local_values = scope->locals();
  1220               GrowableArray<ScopeValue*>* local_values = scope->locals();
  1221               assert(local_values != NULL, "NULL locals");
  1221               assert(local_values != NULL, "NULL locals");
  1469   if (objects == NULL) {
  1469   if (objects == NULL) {
  1470     // no objects to materialize
  1470     // no objects to materialize
  1471     return;
  1471     return;
  1472   }
  1472   }
  1473 
  1473 
  1474   bool realloc_failures = Deoptimization::realloc_objects(thread, fstAfterDeopt.current(), objects, CHECK);
  1474   bool realloc_failures = Deoptimization::realloc_objects(thread, fstAfterDeopt.current(), fstAfterDeopt.register_map(), objects, CHECK);
  1475   Deoptimization::reassign_fields(fstAfterDeopt.current(), fstAfterDeopt.register_map(), objects, realloc_failures, false);
  1475   Deoptimization::reassign_fields(fstAfterDeopt.current(), fstAfterDeopt.register_map(), objects, realloc_failures, false);
  1476 
  1476 
  1477   for (int frame_index = 0; frame_index < virtualFrames->length(); frame_index++) {
  1477   for (int frame_index = 0; frame_index < virtualFrames->length(); frame_index++) {
  1478     compiledVFrame* cvf = virtualFrames->at(frame_index);
  1478     compiledVFrame* cvf = virtualFrames->at(frame_index);
  1479 
  1479