< prev index next >

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

Print this page

        

*** 90,100 **** } void ShenandoahStringDedup::oops_do_slow(OopClosure* cl) { assert(SafepointSynchronize::is_at_safepoint(), "Must be at a safepoint"); assert(is_enabled(), "String deduplication not enabled"); ! AlwaysTrueClosure always_true; StringDedupUnlinkOrOopsDoClosure sd_cl(&always_true, cl); StringDedupQueue::unlink_or_oops_do(&sd_cl); StringDedupTable::unlink_or_oops_do(&sd_cl, 0); } --- 90,100 ---- } void ShenandoahStringDedup::oops_do_slow(OopClosure* cl) { assert(SafepointSynchronize::is_at_safepoint(), "Must be at a safepoint"); assert(is_enabled(), "String deduplication not enabled"); ! ShenandoahAlwaysTrueClosure always_true; StringDedupUnlinkOrOopsDoClosure sd_cl(&always_true, cl); StringDedupQueue::unlink_or_oops_do(&sd_cl); StringDedupTable::unlink_or_oops_do(&sd_cl, 0); }
< prev index next >