src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp
changeset 49722 a47d1e21b3f1
parent 49708 6709f13dccd3
child 50034 01a88f825a84
equal deleted inserted replaced
49721:ea0cc7c74e75 49722:a47d1e21b3f1
   418     q->forward_to(oop(compact_top));
   418     q->forward_to(oop(compact_top));
   419     assert(q->is_gc_marked(), "encoding the pointer should preserve the mark");
   419     assert(q->is_gc_marked(), "encoding the pointer should preserve the mark");
   420   } else {
   420   } else {
   421     // if the object isn't moving we can just set the mark to the default
   421     // if the object isn't moving we can just set the mark to the default
   422     // mark and handle it specially later on.
   422     // mark and handle it specially later on.
   423     q->init_mark();
   423     q->init_mark_raw();
   424     assert(q->forwardee() == NULL, "should be forwarded to NULL");
   424     assert(q->forwardee() == NULL, "should be forwarded to NULL");
   425   }
   425   }
   426 
   426 
   427   compact_top += adjusted_size;
   427   compact_top += adjusted_size;
   428 
   428