RFR: 8303210: [linux, Windows] Make UseSystemMemoryBarrier available as product flag [v5]
Martin Doerr
mdoerr at openjdk.org
Wed Mar 29 10:50:20 UTC 2023
On Wed, 29 Mar 2023 00:06:38 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > Note: The feature requires at least Linux 4.14. The flag needs to be off for older versions.
>
> In that case we should do a version check when trying to initialize, and at least warn if the OS is too old.
We already warn if the linux version is too old:
https://github.com/openjdk/jdk/pull/12753/files#diff-aeec57d804d56002f26a85359fc4ac8b48cfc249d57c656a30a63fc6bf3457adR4496
Would you like the message to mention Linux 4.14?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/12753#issuecomment-1488367479
More information about the hotspot-dev
mailing list