6 Mar
2024
6 Mar
'24
11:13 a.m.
mostly unused
I thought Wine was still being somewhat actively used on FreeBSD and/or NetBSD. Without this code path, .NET CoreCLR GC and HotSpot JVM (-XX:+UseSystemMemoryBarrier) safepoints will run into data race due to insufficient synchronization on the aforementioned platforms.
not guaranteed to work
I said "not guaranteed" as in future architectures may change the semantics of mprotect(), but right now it's still guaranteed to work on bare metal machines (as per the report I mentioned earlier in this MR) for the time being. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/741#note_63693