RFR (XS): 8037043: put Method flag bits in predictable positions
Coleen Phillimore
coleen.phillimore at oracle.com
Tue Mar 11 14:37:40 UTC 2014
No wonder you don't like C++ with code like that. Can you put () around
the ?: expressions so I don't have to dig out my C++ manual to figure
out order of operations in the getting and setting functions.
Thanks,
Coleen
On 3/10/14 8:44 PM, Christian Thalinger wrote:
> https://bugs.openjdk.java.net/browse/JDK-8037043
> http://cr.openjdk.java.net/~twisti/8037043
>
> 8037043: put Method flag bits in predictable positions
> Reviewed-by:
>
> Currently Method flag bits are managed as a bit field which is C++ implementation specific. Sometimes we need to know the exact position of flag bits in its enclosing data type. For this reason other flag bits in HotSpot are implemented with enum shift values so the exact bit position can be easily identified.
>
More information about the hotspot-dev
mailing list