Integrated: 8303210: [linux, Windows] Make UseSystemMemoryBarrier available as product flag
Martin Doerr
mdoerr at openjdk.org
Mon Apr 3 09:40:56 UTC 2023
On Sat, 25 Feb 2023 09:17:57 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.
>
> Update: Startup performance and some benchmarks on some platforms are impacted (see below). So, this PR no longer switches it on by default.
This pull request has now been integrated.
Changeset: 4de24cdb
Author: Martin Doerr <mdoerr at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4de24cdbe65289bd99eace30399f20694441f0aa
Stats: 61 lines in 13 files changed: 33 ins; 10 del; 18 mod
8303210: [linux, Windows] Make UseSystemMemoryBarrier available as product flag
Reviewed-by: dholmes, rehn
-------------
PR: https://git.openjdk.org/jdk/pull/12753
More information about the hotspot-dev
mailing list