Explanation and performance results were reported here: https://github.com/openjdk/jdk/pull/10123#issuecomment-1235123012
I originally wanted to enable the feature by default for JDK21, but startup performance is impacted and some benchmarks on some platforms as well (see PR below). So, I only want to make it available as product flag, now.
JFR users who use a very high sampling rate may notice a performance penalty of the System Memory Barrier calls. The feature can get switched off in this case by -XX:-UseSystemMemoryBarrier.
Note: The feature requires at least Linux 4.14. The flag needs to be off for older versions.
- csr for
-
JDK-8303500 Make UseSystemMemoryBarrier available as product flag
-
- Closed
-
- relates to
-
JDK-8289302 Restore CriticalJNINatives
-
- Closed
-
-
JDK-8292591 Experimentally add back barrier-less Java thread transitions
-
- Resolved
-