< prev index next >

src/hotspot/share/prims/jvmtiTagMap.cpp

Print this page
*** 1435,11 ***
      _saved_mark_stack->push(mark);
      _saved_oop_stack->push(o);
    }
  
    // mark the object
!   o->set_mark(markWord::prototype().set_marked());
  }
  
  // return true if object is marked
  inline bool ObjectMarker::visited(oop o) {
    return o->mark().is_marked();
--- 1435,11 ---
      _saved_mark_stack->push(mark);
      _saved_oop_stack->push(o);
    }
  
    // mark the object
!   o->set_mark(o->klass()->prototype_header().set_marked());
  }
  
  // return true if object is marked
  inline bool ObjectMarker::visited(oop o) {
    return o->mark().is_marked();
< prev index next >