RFR: 8230203: Replace markWord enums with uintptr_t constants
Kim Barrett
kim.barrett at oracle.com
Wed Aug 28 04:48:15 UTC 2019
> On Aug 27, 2019, at 10:05 PM, David Holmes <david.holmes at oracle.com> wrote:
> In markWord.hpp:
>
> 334 assert(age <= max_age, "age too large");
>
> This assert is a tautology as age and max_age are the same uint type. (I expect some compilers may point this out.)
max_age == age_mask
== right_n_bits(age_bits)
== right_n_bits(4)
More information about the hotspot-dev
mailing list