< prev index next >

src/hotspot/share/gc/cms/parNewGeneration.cpp

Print this page
*** 1243,11 ***
  #ifndef PRODUCT
      Atomic::inc(&_num_par_pushes);
      assert(_num_par_pushes > 0, "Tautology");
  #endif
      if (from_space_obj->forwardee() == from_space_obj) {
!       oopDesc* listhead = NEW_C_HEAP_ARRAY(oopDesc, 1, mtGC);
        listhead->forward_to(from_space_obj);
        from_space_obj = listhead;
      }
      oop observed_overflow_list = _overflow_list;
      oop cur_overflow_list;
--- 1243,11 ---
  #ifndef PRODUCT
      Atomic::inc(&_num_par_pushes);
      assert(_num_par_pushes > 0, "Tautology");
  #endif
      if (from_space_obj->forwardee() == from_space_obj) {
!       oopDesc* listhead = NEW_C_HEAP_OBJ(oopDesc, mtGC);
        listhead->forward_to(from_space_obj);
        from_space_obj = listhead;
      }
      oop observed_overflow_list = _overflow_list;
      oop cur_overflow_list;
< prev index next >