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

Martin Doerr mdoerr at openjdk.org
Sat Feb 25 16:14:10 UTC 2023


> 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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12753/files
  - new: https://git.openjdk.org/jdk/pull/12753/files/7fbf0856..0ce067a9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12753&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12753&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12753.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12753/head:pull/12753

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


More information about the hotspot-dev mailing list