< prev index next >

src/share/vm/gc/shared/referenceProcessor.cpp

Print this page
rev 10256 : imported patch 8150302

*** 337,347 **** // in all places in the reference processor where we manipulate the discovered // field we make sure to do the barrier here where we anyway iterate through // all linked Reference objects. Note that it is important to not dirty any // cards during reference processing since this will cause card table // verification to fail for G1. ! log_develop_trace(gc, ref)("ReferenceProcessor::enqueue_discovered_reflist list " INTPTR_FORMAT, p2i(refs_list.head())); oop obj = NULL; oop next_d = refs_list.head(); // Walk down the list, self-looping the next field // so that the References are not considered active. --- 337,347 ---- // in all places in the reference processor where we manipulate the discovered // field we make sure to do the barrier here where we anyway iterate through // all linked Reference objects. Note that it is important to not dirty any // cards during reference processing since this will cause card table // verification to fail for G1. ! log_develop_trace(gc, ref)("ReferenceProcessor::enqueue_discovered_reflist list " INTPTR_FORMAT, p2i(&refs_list)); oop obj = NULL; oop next_d = refs_list.head(); // Walk down the list, self-looping the next field // so that the References are not considered active.
*** 500,510 **** } } // Close the reachable set complete_gc->do_void(); log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " dead Refs out of " SIZE_FORMAT " discovered Refs by policy, from list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(refs_list.head())); } // Traverse the list and remove any Refs that are not active, or // whose referents are either alive or NULL. void --- 500,510 ---- } } // Close the reachable set complete_gc->do_void(); log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " dead Refs out of " SIZE_FORMAT " discovered Refs by policy, from list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(&refs_list)); } // Traverse the list and remove any Refs that are not active, or // whose referents are either alive or NULL. void
*** 534,544 **** } NOT_PRODUCT( if (iter.processed() > 0) { log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " active Refs out of " SIZE_FORMAT " Refs in discovered list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(refs_list.head())); } ) } void --- 534,544 ---- } NOT_PRODUCT( if (iter.processed() > 0) { log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " active Refs out of " SIZE_FORMAT " Refs in discovered list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(&refs_list)); } ) } void
*** 573,583 **** complete_gc->do_void(); NOT_PRODUCT( if (iter.processed() > 0) { log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " active Refs out of " SIZE_FORMAT " Refs in discovered list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(refs_list.head())); } ) } // Traverse the list and process the referents, by either --- 573,583 ---- complete_gc->do_void(); NOT_PRODUCT( if (iter.processed() > 0) { log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " active Refs out of " SIZE_FORMAT " Refs in discovered list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(&refs_list)); } ) } // Traverse the list and process the referents, by either
*** 1196,1206 **** complete_gc->do_void(); NOT_PRODUCT( if (iter.processed() > 0) { log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " Refs out of " SIZE_FORMAT " Refs in discovered list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(refs_list.head())); } ) } const char* ReferenceProcessor::list_name(uint i) { --- 1196,1206 ---- complete_gc->do_void(); NOT_PRODUCT( if (iter.processed() > 0) { log_develop_trace(gc, ref)(" Dropped " SIZE_FORMAT " Refs out of " SIZE_FORMAT " Refs in discovered list " INTPTR_FORMAT, ! iter.removed(), iter.processed(), p2i(&refs_list)); } ) } const char* ReferenceProcessor::list_name(uint i) {
< prev index next >