RFR: 8272228: G1: G1CardSetInlinePtr Remove unreliable assertion

Albert Mingkun Yang ayang at openjdk.java.net
Tue Aug 10 14:10:32 UTC 2021


On Tue, 10 Aug 2021 13:50:42 GMT, Ivan Walulya <iwalulya 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)`.

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

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



More information about the hotspot-gc-dev mailing list