From 5fd2efb7e91b2b73769002af9bf814ea86993c69 Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Wed, 11 Dec 2019 14:01:00 -0500 Subject: [PATCH] 8235776: Shenandoah: Shenandoah root updater not always uses right code blob closure Reviewed-by: rkennke --- .../share/gc/shenandoah/shenandoahRootProcessor.inline.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp index fd580c71c97..67669c16194 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp @@ -278,7 +278,7 @@ void ShenandoahRootUpdater::roots_do(uint worker_id, IsAlive* is_alive, KeepAliv _vm_roots.oops_do(keep_alive, worker_id); _cld_roots.cld_do(&clds, worker_id); - _code_roots.code_blobs_do(&update_blobs, worker_id); + _code_roots.code_blobs_do(codes_cl, worker_id); _thread_roots.oops_do(keep_alive, NULL, worker_id); _serial_weak_roots.weak_oops_do(is_alive, keep_alive, worker_id);