RFR: 8278548: G1: Remove unnecessary check in forward_to_block_containing_addr
Thomas Schatzl
tschatzl at openjdk.java.net
Sat Dec 11 11:22:10 UTC 2021
On Fri, 10 Dec 2021 11:36:09 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple change of removing an always-false `if`.
>
> Test: I added `assert(false)` inside the `if`, and no failure in tier1-6.
I would also prefer to keep an assert here.
-------------
Changes requested by tschatzl (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6797
More information about the hotspot-gc-dev
mailing list