JDK-8303500 : Make UseSystemMemoryBarrier available as product flag
  • Type: CSR
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 21
  • Submitted: 2023-03-02
  • Updated: 2023-03-31
  • Resolved: 2023-03-31
Related Reports
CSR :  
Description
Summary
-------

Change experimental flag "UseSystemMemoryBarrier" to regular product flag.

Problem
-------

The enhancement JDK-8292591 has introduced the experimental feature "UseSystemMemoryBarrier" which improves performance in some scenarios. It is currently not supported in production, so, customers can't benefit from it.

Solution
--------

Make the flag a regular product flag.

Specification
-------------

      product(bool, UseSystemMemoryBarrier, false,                              \
           "Try to enable system memory barrier if supported by OS")         \
Comments
Moving to Approved.
31-03-2023

Moving to Provisional, not Approved, for JDK 21.
29-03-2023

This flag can be very beneficial for some workloads. It would be good if users of such workload may easily do this tuning.
28-03-2023