RFR: 8185723: Zero: segfaults on Power PC 32-bit
Andrew Haley
aph at redhat.com
Thu Aug 3 11:07:17 UTC 2017
On 03/08/17 11:43, John Paul Adrian Glaubitz wrote:
> On 08/03/2017 12:06 PM, Andrew Haley wrote:
>> But there may be a better way of handling atomic doublewords on the
>> 68k. Instead, define an array of lock words and yield on one of them
>> when reading or writing a doubleword. That way you (probably) only
>> block when two threads really are contending, and the instant you
>> detect contention you yield.
>
> Hmm, I have honestly no idea how to implement that though.
I'll have a look.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-dev
mailing list