Skip to content

Commit

Permalink
8341242: Shenandoah: LRB node is not matched as GC barrier after JDK-…
Browse files Browse the repository at this point in the history
…8340183

Reviewed-by: rkennke, phh
  • Loading branch information
shipilev committed Oct 1, 2024
1 parent 7cc7c08 commit 684d246
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 684d246

Please sign in to comment.