Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8262298: G1BarrierSetC2::step_over_gc_barrier fails with assert "bad …
…barrier shape"

Reviewed-by: kvn, vlivanov
  • Loading branch information
Nils Eliasson committed Mar 17, 2021
1 parent 7674da4 commit cdf78e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp
Expand Up @@ -759,7 +759,7 @@ Node* G1BarrierSetC2::step_over_gc_barrier(Node* c) const {
r->in(j)->in(0)->as_Call()->entry_point() == CAST_FROM_FN_PTR(address, G1BarrierSetRuntime::write_ref_field_post_entry)) {
Node* call = r->in(j)->in(0);
c = c->in(i == 1 ? 2 : 1);
if (c != NULL) {
if (c != NULL && c->Opcode() != Op_Parm) {
c = c->in(0);
if (c != NULL) {
c = c->in(0);
Expand Down

1 comment on commit cdf78e4

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.