8341242: Shenandoah: LRB node is not matched as GC barrier after JDK-8340183

Reviewed-by: rkennke, phh
This commit is contained in:
Aleksey Shipilev 2024-10-01 13:29:56 +00:00
parent 7cc7c080b5
commit 684d246ccf

@ -682,7 +682,8 @@ bool ShenandoahBarrierSetC2::is_gc_pre_barrier_node(Node* node) const {
}
bool ShenandoahBarrierSetC2::is_gc_barrier_node(Node* node) const {
return is_shenandoah_lrb_call(node) ||
return (node->Opcode() == Op_ShenandoahLoadReferenceBarrier) ||
is_shenandoah_lrb_call(node) ||
is_shenandoah_wb_pre_call(node) ||
is_shenandoah_clone_call(node);
}