< prev index next >
src/hotspot/share/jvmci/jvmciCompilerToVM.cpp
Print this page
rev 56101 : 8227745: Enable Escape Analysis for better performance when debugging
Reviewed-by: ???
*** 1251,1260 ****
--- 1251,1261 ----
if (sv->value().is_null()) {
objects->append(sv);
}
}
}
+ // TODO: use Deoptimization::deoptimize_objects()
bool realloc_failures = Deoptimization::realloc_objects(thread, fst.current(), fst.register_map(), objects, CHECK_NULL);
Deoptimization::reassign_fields(fst.current(), fst.register_map(), objects, realloc_failures, false);
realloc_called = true;
GrowableArray<ScopeValue*>* local_values = scope->locals();
*** 1509,1518 ****
--- 1510,1520 ----
if (objects == NULL) {
// no objects to materialize
return;
}
+ // TODO: use Deoptimization::deoptimize_objects()
bool realloc_failures = Deoptimization::realloc_objects(thread, fstAfterDeopt.current(), fstAfterDeopt.register_map(), objects, CHECK);
Deoptimization::reassign_fields(fstAfterDeopt.current(), fstAfterDeopt.register_map(), objects, realloc_failures, false);
for (int frame_index = 0; frame_index < virtualFrames->length(); frame_index++) {
compiledVFrame* cvf = virtualFrames->at(frame_index);
< prev index next >