[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-dev
Subject:    RE: RFR: 8230203: Replace markWord enums with uintptr_t constants
From:       "Doerr, Martin" <martin.doerr () sap ! com>
Date:       2019-08-28 8:02:42
Message-ID: VI1PR0201MB247947C1D84F991527BC187E9AA30 () VI1PR0201MB2479 ! eurprd02 ! prod ! outlook ! com
[Download RAW message or body]

Hi Kim,

thanks for your explanations.

> What I think you want is
> C++11 explicitly typed enums, e.g. "enum : uintptr_t { … };"
Yes. That's what I meant.

> I agree there's a lot less boilerplate with that.  But I like all the cast removals
> coming out of this change, and would rather not wait for those.
I also like the cast removals.

> There are still some issues with Solaris Studio.  Potential issues with other
> (more obscure) platforms.
I hope they can get resolved soon.

So wrt. to this issue, I abstain.
Cast removal looks good, tons of static consts look bad.

Best regards,
Martin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic