On Thu, 30 Apr 2026 22:27:43 GMT, Leonid Mesnik <[email protected]> wrote:

> i don't think that _valid should be product, it is used in assertion to 
> verify that current metadata is still valid pointer. It is read in assertions 
> only when someone tries to access metadata. It is not a product to save some 
> space. I just wonder why is it zero and not some magic number? I assume that 
> value is zapped somehow druing freeing, but still 0 is not the best number to 
> mark valid objects.

Do you suggest some other value instead of zero ? 
But if so, we should  change it probably in another PR .

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30771#discussion_r3180868839

Reply via email to