< prev index next >

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

Print this page
rev 49289 : 8199735: Mark word updates need to use Access API

*** 177,187 **** q->forward_to(oop(compact_top)); assert(q->is_gc_marked(), "encoding the pointer should preserve the mark"); } else { // if the object isn't moving we can just set the mark to the default // mark and handle it specially later on. ! q->init_mark(); assert(q->forwardee() == NULL, "should be forwarded to NULL"); } compact_top += adjusted_size; --- 177,187 ---- q->forward_to(oop(compact_top)); assert(q->is_gc_marked(), "encoding the pointer should preserve the mark"); } else { // if the object isn't moving we can just set the mark to the default // mark and handle it specially later on. ! q->init_mark_raw(); assert(q->forwardee() == NULL, "should be forwarded to NULL"); } compact_top += adjusted_size;
< prev index next >