RFR: 8278049: G1: add precondition to set_remainder_to_point_to_start

Thomas Schatzl tschatzl at openjdk.java.net
Wed Dec 1 12:56:24 UTC 2021


On Wed, 1 Dec 2021 09:55:44 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple change of converting always-false conditions to assertions.
> 
> Test: hotspot_gc

Lgtm.

My first reaction to run more testing (which isn't bad) has been an overreaction; after some looking at the caller I agree that the case that has been removed can never happen.

Maybe update the copyright date too.

-------------

Marked as reviewed by tschatzl (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6630



More information about the hotspot-gc-dev mailing list