< prev index next >

src/share/vm/prims/jvmtiTagMap.cpp

Print this page
rev 11463 : Backport Traversal GC

*** 1519,1529 **** for (int i=0; i<_tag_count; i++) { if (_tags[i] == entry->tag()) { oop o = entry->object(); assert(o != NULL && Universe::heap()->is_in_reserved(o), "sanity check"); #if INCLUDE_ALL_GCS ! if (UseG1GC || UseShenandoahGC) { // The reference in this tag map could be the only (implicitly weak) // reference to that object. If we hand it out, we need to keep it live wrt // SATB marking similar to other j.l.ref.Reference referents. G1SATBCardTableModRefBS::enqueue(o); } --- 1519,1529 ---- for (int i=0; i<_tag_count; i++) { if (_tags[i] == entry->tag()) { oop o = entry->object(); assert(o != NULL && Universe::heap()->is_in_reserved(o), "sanity check"); #if INCLUDE_ALL_GCS ! if (UseG1GC || (UseShenandoahGC && ShenandoahKeepAliveBarrier)) { // The reference in this tag map could be the only (implicitly weak) // reference to that object. If we hand it out, we need to keep it live wrt // SATB marking similar to other j.l.ref.Reference referents. G1SATBCardTableModRefBS::enqueue(o); }
< prev index next >