RFR: 8307533: Use atomic bitset functions for metadata flags [v2]

Kim Barrett kbarrett at openjdk.org
Tue May 9 23:35:23 UTC 2023


On Mon, 8 May 2023 14:05:22 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Replace the bit set copies from metadata to use the Atomic functions.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove extra variables in favor of casts to help the template.

The failures to build when the extra variables are removed is because of integral arithmetic promotion by the `~bits` expression.  That causes the resulting value of that expression to be of a different type from the atomic value.

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

PR Comment: https://git.openjdk.org/jdk/pull/13843#issuecomment-1541018397


More information about the hotspot-dev mailing list