< prev index next >

src/hotspot/share/gc/serial/defNewGeneration.cpp

Print this page
@@ -684,11 +684,11 @@
  
    _promotion_failed = true;
    _promotion_failed_info.register_copy_failure(old->size());
    _preserved_marks_set.get()->push_if_necessary(old, old->mark());
    // forward to self
-   old->forward_to(old);
+   old->forward_to_self();
  
    _promo_failure_scan_stack.push(old);
  
    if (!_promo_failure_drain_in_progress) {
      // prevent recursion in copy_to_survivor_space()
< prev index next >