Skip to content

Commit

Permalink
Fix first_object_in_block
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Feb 12, 2024
1 parent 4f429ea commit ec17a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/serial/serialCompressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class SCCompacter {
current += obj_size;
}
assert(current >= addr, "found object start must be >= addr");
return addr;
return MIN2(current, limit);
}
}

Expand Down

0 comments on commit ec17a21

Please sign in to comment.