Re: RFR: 8318776: Require supports_cx8 to always be true [v6]

2023-11-23 Thread Aleksey Shipilev
On Thu, 23 Nov 2023 03:14:27 GMT, David Holmes wrote: >> As discussed in JBS all platforms (some tweaks to Zero are in progress) >> actually do support `cx8` i.e. 64-bit compare-and-exchange, so we can strip >> out the locked-based alternatives to using it and just add a guarantee that >> it i

Re: RFR: 8318776: Require supports_cx8 to always be true [v6]

2023-11-22 Thread David Holmes
On Wed, 22 Nov 2023 21:57:57 GMT, Daniel D. Daugherty wrote: >> My point is that it is such an easy thing to do: leave the "cx8" flag >> sensing code in, and keep setting up `_supports_cx8` based on it for >> `!_LP64` paths. This both provides more safety by failing cleanly on non-CX8 >> plat

Re: RFR: 8318776: Require supports_cx8 to always be true [v6]

2023-11-22 Thread David Holmes
> As discussed in JBS all platforms (some tweaks to Zero are in progress) > actually do support `cx8` i.e. 64-bit compare-and-exchange, so we can strip > out the locked-based alternatives to using it and just add a guarantee that > it is true at runtime. And all platforms except some ARM variant