RFR: 8272228: G1: G1CardSetInlinePtr Fix tautological assertion

Ivan Walulya iwalulya at openjdk.java.net
Wed Aug 11 14:36:29 UTC 2021


On Tue, 10 Aug 2021 14:07:41 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Hi all,
>> 
>> Please review this cleanup to remove unreliable asserts in G1CardSetInlinePtr.
>
> I think the intention here is sth like: `assert((_value & CardSetPtrTypeMask) == CardSetInlinePtr)`.

Thanks @albertnetymk and @tschatzl for the reviews.

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

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



More information about the hotspot-gc-dev mailing list