RFR: 8303210: [linux, Windows] Enable UseSystemMemoryBarrier by default if possible [v2]

David Holmes dholmes at openjdk.org
Sun Feb 26 06:06:04 UTC 2023


On Sat, 25 Feb 2023 16:14:10 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> I'd like to enable UseSystemMemoryBarrier by default on supported Operating Systems in order to improve performance of thread state transitions (I/O, JNI, foreign function calls, JIT compiler threads, etc.). See JBS issue for more details.
>> Unfortunately, the feature was not yet implemented on all platforms. I added the code, but need the platform maintainers to check if it can be used reliably (and ideally if the performance improves). It's easy to switch it off again in case of problems.
>
> Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix log message for platforms which don't support it.

There  are two steps needed here:
1. An argument/justification that this move from being experimental to being product (even if diagnostic).
2. Enabling it by default.

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

PR: https://git.openjdk.org/jdk/pull/12753


More information about the hotspot-dev mailing list