< prev index next >

src/hotspot/share/gc/shared/preservedMarks.inline.hpp

Print this page
*** 52,11 ***
    OopAndMarkWord elem(obj, m);
    _stack.push(elem);
  }
  
  inline void PreservedMarks::init_forwarded_mark(oop obj) {
!   obj->init_mark();
  }
  
  inline PreservedMarks::PreservedMarks()
      : _stack(OopAndMarkWordStack::default_segment_size(),
               // This stack should be used very infrequently so there's
--- 52,11 ---
    OopAndMarkWord elem(obj, m);
    _stack.push(elem);
  }
  
  inline void PreservedMarks::init_forwarded_mark(oop obj) {
!   obj->forward_safe_init_mark();
  }
  
  inline PreservedMarks::PreservedMarks()
      : _stack(OopAndMarkWordStack::default_segment_size(),
               // This stack should be used very infrequently so there's
< prev index next >