< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp

Print this page
rev 58162 : 8237632: Shenandoah fails some vmTestbase_nsk_jvmti tests with "Forwardee must point to a heap address"

*** 279,297 **** _serial_weak_roots.weak_oops_do(oops, 0); _weak_roots.oops_do<OopClosure>(oops, 0); _dedup_roots.oops_do(&always_true, oops, 0); } - - void ShenandoahHeapIterationRootScanner::strong_roots_do(OopClosure* oops) { - assert(Thread::current()->is_VM_thread(), "Only by VM thread"); - // Must use _claim_none to avoid interfering with concurrent CLDG iteration - CLDToOopClosure clds(oops, ClassLoaderData::_claim_none); - MarkingCodeBlobClosure code(oops, !CodeBlobToOopClosure::FixRelocations); - ShenandoahParallelOopsDoThreadClosure tc_cl(oops, &code, NULL); - ResourceMark rm; - - _serial_roots.oops_do(oops, 0); - _vm_roots.oops_do(oops, 0); - _cld_roots.always_strong_cld_do(&clds, 0); - _thread_roots.threads_do(&tc_cl, 0); - } --- 279,283 ----
< prev index next >