AArch64: loading the thread-local poll value when waking up from native with ldAr in case -XX:+UseSystemMemoryBarrier

Andrew Haley aph-open at littlepinkcloud.com
Thu Jul 25 15:44:52 UTC 2024


On 7/25/24 14:43, Dmitry Chuyko wrote:
> I wonder if it would be correct to emit the safepoint_poll with
> acquire=false in case UseSystemMemoryBarrier is true at least on some known
> CPUs. Regression tests don't reveal problems, but they don't produce eager
> safepoint/jni races.

Mmm, good point. That sounds reasonable, but I'll defer to others on Cc:

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-compiler-dev mailing list